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 WebRemoteFrameClient_h | 5 #ifndef WebRemoteFrameClient_h |
6 #define WebRemoteFrameClient_h | 6 #define WebRemoteFrameClient_h |
7 | 7 |
8 #include "public/platform/WebFocusType.h" | 8 #include "public/platform/WebFocusType.h" |
9 #include "public/platform/WebSecurityOrigin.h" | 9 #include "public/platform/WebSecurityOrigin.h" |
10 #include "public/web/WebDOMMessageEvent.h" | 10 #include "public/web/WebDOMMessageEvent.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 // process. See http://crbug.com/339659. | 40 // process. See http://crbug.com/339659. |
41 virtual void forwardInputEvent(const WebInputEvent*) {} | 41 virtual void forwardInputEvent(const WebInputEvent*) {} |
42 | 42 |
43 virtual void frameRectsChanged(const WebRect&) {} | 43 virtual void frameRectsChanged(const WebRect&) {} |
44 | 44 |
45 virtual void updateRemoteViewportIntersection( | 45 virtual void updateRemoteViewportIntersection( |
46 const WebRect& viewportIntersection) {} | 46 const WebRect& viewportIntersection) {} |
47 | 47 |
48 virtual void visibilityChanged(bool visible) {} | 48 virtual void visibilityChanged(bool visible) {} |
49 | 49 |
50 virtual void setHasReceivedUserGesture() {} | |
51 | |
52 // This frame updated its opener to another frame. | 50 // This frame updated its opener to another frame. |
53 virtual void didChangeOpener(WebFrame* opener) {} | 51 virtual void didChangeOpener(WebFrame* opener) {} |
54 | 52 |
55 // Continue sequential focus navigation in this frame. This is called when | 53 // Continue sequential focus navigation in this frame. This is called when |
56 // the |source| frame is searching for the next focusable element (e.g., in | 54 // the |source| frame is searching for the next focusable element (e.g., in |
57 // response to <tab>) and encounters a remote frame. | 55 // response to <tab>) and encounters a remote frame. |
58 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) {} | 56 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) {} |
59 | 57 |
60 // This frame was focused by another frame. | 58 // This frame was focused by another frame. |
61 virtual void frameFocused() {} | 59 virtual void frameFocused() {} |
62 }; | 60 }; |
63 | 61 |
64 } // namespace blink | 62 } // namespace blink |
65 | 63 |
66 #endif // WebRemoteFrameClient_h | 64 #endif // WebRemoteFrameClient_h |
OLD | NEW |