| 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 // A remote frame was asked to start a navigation. | 40 // A remote frame was asked to start a navigation. |
| 41 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren
tEntry) { } | 41 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren
tEntry) { } |
| 42 virtual void reload(bool ignoreCache, bool isClientRedirect) { } | 42 virtual void reload(bool ignoreCache, bool isClientRedirect) { } |
| 43 | 43 |
| 44 // FIXME: Remove this method once we have input routing in the browser | 44 // FIXME: Remove this method once we have input routing in the browser |
| 45 // process. See http://crbug.com/339659. | 45 // process. See http://crbug.com/339659. |
| 46 virtual void forwardInputEvent(const WebInputEvent*) { } | 46 virtual void forwardInputEvent(const WebInputEvent*) { } |
| 47 | 47 |
| 48 virtual void frameRectsChanged(const WebRect&) { } | 48 virtual void frameRectsChanged(const WebRect&) { } |
| 49 | 49 |
| 50 virtual void visibilityChanged(bool visible) {} |
| 51 |
| 50 // This frame updated its opener to another frame. | 52 // This frame updated its opener to another frame. |
| 51 virtual void didChangeOpener(WebFrame* opener) { } | 53 virtual void didChangeOpener(WebFrame* opener) { } |
| 52 | 54 |
| 53 // Continue sequential focus navigation in this frame. This is called when | 55 // Continue sequential focus navigation in this frame. This is called when |
| 54 // the |source| frame is searching for the next focusable element (e.g., in | 56 // the |source| frame is searching for the next focusable element (e.g., in |
| 55 // response to <tab>) and encounters a remote frame. | 57 // response to <tab>) and encounters a remote frame. |
| 56 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) { } | 58 virtual void advanceFocus(WebFocusType type, WebLocalFrame* source) { } |
| 57 | 59 |
| 58 // This frame was focused by another frame. | 60 // This frame was focused by another frame. |
| 59 virtual void frameFocused() { } | 61 virtual void frameFocused() { } |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace blink | 64 } // namespace blink |
| 63 | 65 |
| 64 #endif // WebRemoteFrameClient_h | 66 #endif // WebRemoteFrameClient_h |
| OLD | NEW |