OLD | NEW |
---|---|
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 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class Event; | |
13 class Frame; | |
Nate Chapin
2014/10/16 19:18:43
I wouldn't have thought this forward declaration w
Charlie Reis
2014/10/16 20:09:02
Woops, put that one in when Frame was still in the
| |
12 class ResourceRequest; | 14 class ResourceRequest; |
13 | 15 |
14 class RemoteFrameClient : public FrameClient { | 16 class RemoteFrameClient : public FrameClient { |
15 public: | 17 public: |
16 virtual ~RemoteFrameClient() { } | 18 virtual ~RemoteFrameClient() { } |
17 | 19 |
18 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) = 0; | 20 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry ) = 0; |
21 | |
22 // FIXME: Remove this method once we have input routing in the browser | |
23 // process. See http://crbug.com/339659. | |
24 virtual void forwardInputEvent(Event*) = 0; | |
19 }; | 25 }; |
20 | 26 |
21 } // namespace blink | 27 } // namespace blink |
22 | 28 |
23 #endif // RemoteFrameClient_h | 29 #endif // RemoteFrameClient_h |
OLD | NEW |