Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: extensions/renderer/guest_view/guest_view_request.h

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: address all comments from Nasko and Charlie, minus is_loading Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_REQUEST_H_ 5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_REQUEST_H_
6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_REQUEST_H_ 6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_REQUEST_H_
7 7
8 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
9 #include "v8/include/v8.h" 9 #include "v8/include/v8.h"
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 v8::Isolate* isolate); 85 v8::Isolate* isolate);
86 ~GuestViewDetachRequest() override; 86 ~GuestViewDetachRequest() override;
87 87
88 void PerformRequest() override; 88 void PerformRequest() override;
89 void HandleResponse(const IPC::Message& message) override; 89 void HandleResponse(const IPC::Message& message) override;
90 90
91 private: 91 private:
92 DISALLOW_COPY_AND_ASSIGN(GuestViewDetachRequest); 92 DISALLOW_COPY_AND_ASSIGN(GuestViewDetachRequest);
93 }; 93 };
94 94
95 class GuestViewAttachIframeRequest : public GuestViewRequest {
96 public:
97 GuestViewAttachIframeRequest(GuestViewContainer* container,
98 int render_frame_routing_id,
99 int guest_instance_id,
100 scoped_ptr<base::DictionaryValue> params,
101 v8::Local<v8::Function> callback,
102 v8::Isolate* isolate);
103 ~GuestViewAttachIframeRequest() override;
104
105 void PerformRequest() override;
106 void HandleResponse(const IPC::Message& message) override;
107
108 private:
109 const int render_frame_routing_id_;
110 const int guest_instance_id_;
111 scoped_ptr<base::DictionaryValue> params_;
112
113 DISALLOW_COPY_AND_ASSIGN(GuestViewAttachIframeRequest);
114 };
115
95 } // namespace extensions 116 } // namespace extensions
96 117
97 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_ 118 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_GUEST_VIEW_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698