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" |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual void forwardPostMessage(MessageEvent*, | 29 virtual void forwardPostMessage(MessageEvent*, |
30 PassRefPtr<SecurityOrigin> target, | 30 PassRefPtr<SecurityOrigin> target, |
31 LocalFrame* sourceFrame) const = 0; | 31 LocalFrame* sourceFrame) const = 0; |
32 | 32 |
33 // FIXME: Remove this method once we have input routing in the browser | 33 // FIXME: Remove this method once we have input routing in the browser |
34 // process. See http://crbug.com/339659. | 34 // process. See http://crbug.com/339659. |
35 virtual void forwardInputEvent(Event*) = 0; | 35 virtual void forwardInputEvent(Event*) = 0; |
36 | 36 |
37 virtual void frameRectsChanged(const IntRect& frameRect) = 0; | 37 virtual void frameRectsChanged(const IntRect& frameRect) = 0; |
38 | 38 |
| 39 virtual void updateRemoteViewportIntersection( |
| 40 const IntRect& viewportIntersection) = 0; |
| 41 |
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 |