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 #include "core/frame/FrameTypes.h" | 9 #include "core/frame/FrameTypes.h" |
| 10 #include "core/loader/FrameLoaderTypes.h" |
10 | 11 |
11 namespace blink { | 12 namespace blink { |
12 | 13 |
13 class Event; | 14 class Event; |
14 class ResourceRequest; | 15 class ResourceRequest; |
15 | 16 |
16 class RemoteFrameClient : public FrameClient { | 17 class RemoteFrameClient : public FrameClient { |
17 public: | 18 public: |
18 virtual ~RemoteFrameClient() { } | 19 virtual ~RemoteFrameClient() { } |
19 | 20 |
20 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; | 21 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; |
21 virtual void reload(ReloadPolicy, ClientRedirectPolicy) = 0; | 22 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 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 |
OLD | NEW |