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

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

Issue 699053004: Revert of Fix RemoteFrame detachment to signal its client. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « Source/web/RemoteFrameClientImpl.cpp ('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 WebInputEvent; 12 class WebInputEvent;
13 class WebLocalFrame; 13 class WebLocalFrame;
14 class WebRemoteFrame; 14 class WebRemoteFrame;
15 struct WebRect;
16 15
17 class WebRemoteFrameClient { 16 class WebRemoteFrameClient {
18 public: 17 public:
19 // Notify the embedder that it should remove this frame from the frame tree 18 // Notify the embedder that it should remove this frame from the frame tree
20 // and release any resources associated with it. 19 // and release any resources associated with it.
21 virtual void frameDetached() { } 20 virtual void frameDetached() { }
22 21
23 // Notifies the embedder that a postMessage was issued to a remote frame. 22 // Notifies the embedder that a postMessage was issued to a remote frame.
24 virtual void postMessageEvent( 23 virtual void postMessageEvent(
25 WebLocalFrame* sourceFrame, 24 WebLocalFrame* sourceFrame,
(...skipping 11 matching lines...) Expand all
37 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { } 36 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { }
38 37
39 // FIXME: Remove this method once we have input routing in the browser 38 // FIXME: Remove this method once we have input routing in the browser
40 // process. See http://crbug.com/339659. 39 // process. See http://crbug.com/339659.
41 virtual void forwardInputEvent(const WebInputEvent*) { } 40 virtual void forwardInputEvent(const WebInputEvent*) { }
42 }; 41 };
43 42
44 } // namespace blink 43 } // namespace blink
45 44
46 #endif // WebRemoteFrameClient_h 45 #endif // WebRemoteFrameClient_h
OLDNEW
« no previous file with comments | « Source/web/RemoteFrameClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698