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 24 matching lines...) Expand all Loading... |
35 bool should_replace_current_entry) {} | 35 bool should_replace_current_entry) {} |
36 virtual void Reload(WebFrameLoadType, WebClientRedirectPolicy) {} | 36 virtual void Reload(WebFrameLoadType, WebClientRedirectPolicy) {} |
37 | 37 |
38 virtual void FrameRectsChanged(const WebRect&) {} | 38 virtual void FrameRectsChanged(const WebRect&) {} |
39 | 39 |
40 virtual void UpdateRemoteViewportIntersection( | 40 virtual void UpdateRemoteViewportIntersection( |
41 const WebRect& viewport_intersection) {} | 41 const WebRect& viewport_intersection) {} |
42 | 42 |
43 virtual void VisibilityChanged(bool visible) {} | 43 virtual void VisibilityChanged(bool visible) {} |
44 | 44 |
| 45 // Set or clear the inert property on the remote frame. |
| 46 virtual void SetIsInert(bool) {} |
| 47 |
45 // This frame updated its opener to another frame. | 48 // This frame updated its opener to another frame. |
46 virtual void DidChangeOpener(WebFrame* opener) {} | 49 virtual void DidChangeOpener(WebFrame* opener) {} |
47 | 50 |
48 // Continue sequential focus navigation in this frame. This is called when | 51 // Continue sequential focus navigation in this frame. This is called when |
49 // the |source| frame is searching for the next focusable element (e.g., in | 52 // the |source| frame is searching for the next focusable element (e.g., in |
50 // response to <tab>) and encounters a remote frame. | 53 // response to <tab>) and encounters a remote frame. |
51 virtual void AdvanceFocus(WebFocusType type, WebLocalFrame* source) {} | 54 virtual void AdvanceFocus(WebFocusType type, WebLocalFrame* source) {} |
52 | 55 |
53 // This frame was focused by another frame. | 56 // This frame was focused by another frame. |
54 virtual void FrameFocused() {} | 57 virtual void FrameFocused() {} |
55 }; | 58 }; |
56 | 59 |
57 } // namespace blink | 60 } // namespace blink |
58 | 61 |
59 #endif // WebRemoteFrameClient_h | 62 #endif // WebRemoteFrameClient_h |
OLD | NEW |