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 21 matching lines...) Expand all Loading... |
32 virtual void forwardPostMessage(MessageEvent*, | 32 virtual void forwardPostMessage(MessageEvent*, |
33 PassRefPtr<SecurityOrigin> target, | 33 PassRefPtr<SecurityOrigin> target, |
34 LocalFrame* sourceFrame) const = 0; | 34 LocalFrame* sourceFrame) const = 0; |
35 | 35 |
36 // FIXME: Remove this method once we have input routing in the browser | 36 // FIXME: Remove this method once we have input routing in the browser |
37 // process. See http://crbug.com/339659. | 37 // process. See http://crbug.com/339659. |
38 virtual void forwardInputEvent(Event*) = 0; | 38 virtual void forwardInputEvent(Event*) = 0; |
39 | 39 |
40 virtual void frameRectsChanged(const IntRect& frameRect) = 0; | 40 virtual void frameRectsChanged(const IntRect& frameRect) = 0; |
41 | 41 |
| 42 virtual void updateRemoteViewportIntersection( |
| 43 const IntRect& viewportIntersection) = 0; |
| 44 |
42 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; | 45 virtual void advanceFocus(WebFocusType, LocalFrame* source) = 0; |
43 | 46 |
44 virtual void visibilityChanged(bool visible) = 0; | 47 virtual void visibilityChanged(bool visible) = 0; |
45 | 48 |
46 virtual void setHasReceivedUserGesture() = 0; | 49 virtual void setHasReceivedUserGesture() = 0; |
47 }; | 50 }; |
48 | 51 |
49 } // namespace blink | 52 } // namespace blink |
50 | 53 |
51 #endif // RemoteFrameClient_h | 54 #endif // RemoteFrameClient_h |
OLD | NEW |