| 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 26 matching lines...) Expand all Loading... |
| 37 virtual void reload(WebFrameLoadType, WebClientRedirectPolicy) {} | 37 virtual void reload(WebFrameLoadType, WebClientRedirectPolicy) {} |
| 38 | 38 |
| 39 // FIXME: Remove this method once we have input routing in the browser | 39 // FIXME: Remove this method once we have input routing in the browser |
| 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 visibilityChanged(bool visible) {} | 45 virtual void visibilityChanged(bool visible) {} |
| 46 | 46 |
| 47 virtual void setHasReceivedUserGesture() {} |
| 48 |
| 47 // This frame updated its opener to another frame. | 49 // This frame updated its opener to another frame. |
| 48 virtual void didChangeOpener(WebFrame* opener) {} | 50 virtual void didChangeOpener(WebFrame* opener) {} |
| 49 | 51 |
| 50 // Continue sequential focus navigation in this frame. This is called when | 52 // Continue sequential focus navigation in this frame. This is called when |
| 51 // the |source| frame is searching for the next focusable element (e.g., in | 53 // the |source| frame is searching for the next focusable element (e.g., in |
| 52 // response to <tab>) and encounters a remote frame. | 54 // response to <tab>) and encounters a remote frame. |
| 53 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) {} | 55 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) {} |
| 54 | 56 |
| 55 // This frame was focused by another frame. | 57 // This frame was focused by another frame. |
| 56 virtual void frameFocused() {} | 58 virtual void frameFocused() {} |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace blink | 61 } // namespace blink |
| 60 | 62 |
| 61 #endif // WebRemoteFrameClient_h | 63 #endif // WebRemoteFrameClient_h |
| OLD | NEW |