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

Side by Side Diff: Source/core/frame/RemoteFrameClient.h

Issue 1176843006: Move window.close implementation to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 RemoteFrameClient_h 5 #ifndef RemoteFrameClient_h
6 #define RemoteFrameClient_h 6 #define RemoteFrameClient_h
7 7
8 #include "core/frame/FrameClient.h" 8 #include "core/frame/FrameClient.h"
9 #include "core/frame/FrameTypes.h" 9 #include "core/frame/FrameTypes.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class Event; 13 class Event;
14 class ResourceRequest; 14 class ResourceRequest;
15 15
16 class RemoteFrameClient : public FrameClient { 16 class RemoteFrameClient : public FrameClient {
17 public: 17 public:
18 virtual ~RemoteFrameClient() { } 18 virtual ~RemoteFrameClient() { }
19 19
20 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) = 0; 20 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) = 0;
21 virtual void reload(ReloadPolicy, ClientRedirectPolicy) = 0; 21 virtual void reload(ReloadPolicy, ClientRedirectPolicy) = 0;
22 virtual void close() = 0;
22 23
23 // FIXME: Remove this method once we have input routing in the browser 24 // FIXME: Remove this method once we have input routing in the browser
24 // process. See http://crbug.com/339659. 25 // process. See http://crbug.com/339659.
25 virtual void forwardInputEvent(Event*) = 0; 26 virtual void forwardInputEvent(Event*) = 0;
26 }; 27 };
27 28
28 } // namespace blink 29 } // namespace blink
29 30
30 #endif // RemoteFrameClient_h 31 #endif // RemoteFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698