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

Side by Side Diff: public/web/WebRemoteFrameClient.h

Issue 591413004: Send initializeChildFrame from RenderFrameProxy instead of WebLocalFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Undo changes to TestWebFrameClient Created 6 years, 3 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
« no previous file with comments | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebRemoteFrameClient_h 5 #ifndef WebRemoteFrameClient_h
6 #define WebRemoteFrameClient_h 6 #define WebRemoteFrameClient_h
7 7
8 #include "public/web/WebDOMMessageEvent.h" 8 #include "public/web/WebDOMMessageEvent.h"
9 #include "public/web/WebSecurityOrigin.h" 9 #include "public/web/WebSecurityOrigin.h"
10 10
11 namespace blink { 11 namespace blink {
12 class WebLocalFrame; 12 class WebLocalFrame;
13 class WebRemoteFrame; 13 class WebRemoteFrame;
14 14
15 class WebRemoteFrameClient { 15 class WebRemoteFrameClient {
16 public: 16 public:
17 // Notifies the embedder that a postMessage was issued to a remote frame. 17 // Notifies the embedder that a postMessage was issued to a remote frame.
18 virtual void postMessageEvent( 18 virtual void postMessageEvent(
19 WebLocalFrame* sourceFrame, 19 WebLocalFrame* sourceFrame,
20 WebRemoteFrame* targetFrame, 20 WebRemoteFrame* targetFrame,
21 WebSecurityOrigin targetOrigin, 21 WebSecurityOrigin targetOrigin,
22 WebDOMMessageEvent) = 0; 22 WebDOMMessageEvent) { }
23
24 // Send initial drawing parameters to a child frame that is being rendered
25 // out of process.
26 virtual void initializeChildFrame(
27 const WebRect& frameRect,
28 float scaleFactor) { }
23 }; 29 };
24 30
25 } // namespace blink 31 } // namespace blink
26 32
27 #endif // WebRemoteFrameClient_h 33 #endif // WebRemoteFrameClient_h
OLDNEW
« no previous file with comments | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698