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 #include "public/platform/WebFocusType.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class Event; | 15 class Event; |
16 class IntRect; | 16 class IntRect; |
| 17 class LocalFrame; |
| 18 class MessageEvent; |
17 class ResourceRequest; | 19 class ResourceRequest; |
| 20 class SecurityOrigin; |
18 | 21 |
19 class RemoteFrameClient : public FrameClient { | 22 class RemoteFrameClient : public FrameClient { |
20 public: | 23 public: |
21 ~RemoteFrameClient() override {} | 24 ~RemoteFrameClient() override {} |
22 | 25 |
23 virtual void navigate(const ResourceRequest&, | 26 virtual void navigate(const ResourceRequest&, |
24 bool shouldReplaceCurrentEntry) = 0; | 27 bool shouldReplaceCurrentEntry) = 0; |
25 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 28 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
26 virtual unsigned backForwardLength() = 0; | 29 virtual unsigned backForwardLength() = 0; |
27 | 30 |
(...skipping 11 matching lines...) Expand all Loading... |
39 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; | 42 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; |
40 | 43 |
41 virtual void visibilityChanged(bool visible) = 0; | 44 virtual void visibilityChanged(bool visible) = 0; |
42 | 45 |
43 virtual void setHasReceivedUserGesture() = 0; | 46 virtual void setHasReceivedUserGesture() = 0; |
44 }; | 47 }; |
45 | 48 |
46 } // namespace blink | 49 } // namespace blink |
47 | 50 |
48 #endif // RemoteFrameClient_h | 51 #endif // RemoteFrameClient_h |
OLD | NEW |