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 #include "core/loader/FrameLoaderTypes.h" |
| 11 #include "public/platform/WebFocusType.h" |
11 | 12 |
12 namespace blink { | 13 namespace blink { |
13 | 14 |
14 class Event; | 15 class Event; |
15 class IntRect; | 16 class IntRect; |
16 class ResourceRequest; | 17 class ResourceRequest; |
17 | 18 |
18 class RemoteFrameClient : public FrameClient { | 19 class RemoteFrameClient : public FrameClient { |
19 public: | 20 public: |
20 ~RemoteFrameClient() override { } | 21 ~RemoteFrameClient() override { } |
21 | 22 |
22 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; | 23 virtual void navigate(const ResourceRequest&, bool shouldReplaceCurrentEntry
) = 0; |
23 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 24 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
24 virtual unsigned backForwardLength() = 0; | 25 virtual unsigned backForwardLength() = 0; |
25 | 26 |
26 // FIXME: Remove this method once we have input routing in the browser | 27 // FIXME: Remove this method once we have input routing in the browser |
27 // process. See http://crbug.com/339659. | 28 // process. See http://crbug.com/339659. |
28 virtual void forwardInputEvent(Event*) = 0; | 29 virtual void forwardInputEvent(Event*) = 0; |
29 | 30 |
30 virtual void frameRectsChanged(const IntRect& frameRect) = 0; | 31 virtual void frameRectsChanged(const IntRect& frameRect) = 0; |
| 32 |
| 33 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; |
31 }; | 34 }; |
32 | 35 |
33 } // namespace blink | 36 } // namespace blink |
34 | 37 |
35 #endif // RemoteFrameClient_h | 38 #endif // RemoteFrameClient_h |
OLD | NEW |