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

Side by Side Diff: extensions/renderer/guest_view/extensions_iframe_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: Rebase after swapped out changes major rework with RFP Created 5 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_REQUEST_H_
6 #define EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_REQUEST_H_
7
8 #include "components/guest_view/renderer/guest_view_request.h"
9 #include "ipc/ipc_message.h"
10 #include "v8/include/v8.h"
11
12 namespace guest_view {
13 class GuestViewContainer;
14 }
15
16 namespace extensions {
17
18 class GuestViewAttachIframeRequest : public guest_view::GuestViewRequest {
19 public:
20 GuestViewAttachIframeRequest(guest_view::GuestViewContainer* container,
21 int render_frame_routing_id,
22 int guest_instance_id,
23 scoped_ptr<base::DictionaryValue> params,
24 v8::Local<v8::Function> callback,
25 v8::Isolate* isolate);
26 ~GuestViewAttachIframeRequest() override;
27
28 void PerformRequest() override;
29 void HandleResponse(const IPC::Message& message) override;
30
31 private:
32 const int render_frame_routing_id_;
33 const int guest_instance_id_;
34 scoped_ptr<base::DictionaryValue> params_;
35
36 DISALLOW_COPY_AND_ASSIGN(GuestViewAttachIframeRequest);
37 };
38
39 } // namespace extensions
40
41 #endif // EXTENSIONS_RENDERER_GUEST_VIEW_EXTENSIONS_IFRAME_GUEST_VIEW_REQUEST_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698