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

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

Issue 1176843006: Move window.close implementation to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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 | Annotate | Revision Log
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/platform/WebSecurityOrigin.h" 8 #include "public/platform/WebSecurityOrigin.h"
9 #include "public/web/WebDOMMessageEvent.h" 9 #include "public/web/WebDOMMessageEvent.h"
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 // Send initial drawing parameters to a child frame that is being rendered 33 // Send initial drawing parameters to a child frame that is being rendered
34 // out of process. 34 // out of process.
35 virtual void initializeChildFrame( 35 virtual void initializeChildFrame(
36 const WebRect& frameRect, 36 const WebRect& frameRect,
37 float scaleFactor) { } 37 float scaleFactor) { }
38 38
39 // A remote frame was asked to start a navigation. 39 // A remote frame was asked to start a navigation.
40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { } 40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren tEntry) { }
41 virtual void reload(bool ignoreCache, bool isClientRedirect) { } 41 virtual void reload(bool ignoreCache, bool isClientRedirect) { }
42 virtual void close() { }
42 43
43 // FIXME: Remove this method once we have input routing in the browser 44 // FIXME: Remove this method once we have input routing in the browser
44 // process. See http://crbug.com/339659. 45 // process. See http://crbug.com/339659.
45 virtual void forwardInputEvent(const WebInputEvent*) { } 46 virtual void forwardInputEvent(const WebInputEvent*) { }
46 }; 47 };
47 48
48 } // namespace blink 49 } // namespace blink
49 50
50 #endif // WebRemoteFrameClient_h 51 #endif // WebRemoteFrameClient_h
OLDNEW
« Source/web/tests/WebFrameTest.cpp ('K') | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698