| 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/WebSecurityOrigin.h" | 8 #include "public/platform/WebSecurityOrigin.h" |
| 9 #include "public/web/WebDOMMessageEvent.h" | 9 #include "public/web/WebDOMMessageEvent.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual void postMessageEvent( | 27 virtual void postMessageEvent( |
| 28 WebLocalFrame* sourceFrame, | 28 WebLocalFrame* sourceFrame, |
| 29 WebRemoteFrame* targetFrame, | 29 WebRemoteFrame* targetFrame, |
| 30 WebSecurityOrigin targetOrigin, | 30 WebSecurityOrigin targetOrigin, |
| 31 WebDOMMessageEvent) { } | 31 WebDOMMessageEvent) { } |
| 32 | 32 |
| 33 // Send initial drawing parameters to a child frame that is being rendered | 33 // Send initial drawing parameters to a child frame that is being rendered |
| 34 // out of process. | 34 // out of process. |
| 35 virtual void initializeChildFrame( | 35 virtual void initializeChildFrame( |
| 36 const WebRect& frameRect, | 36 const WebRect& frameRect, |
| 37 float scaleFactor) { } | 37 float deviceScaleFactor) { } |
| 38 | 38 |
| 39 // A remote frame was asked to start a navigation. | 39 // A remote frame was asked to start a navigation. |
| 40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren
tEntry) { } | 40 virtual void navigate(const WebURLRequest& request, bool shouldReplaceCurren
tEntry) { } |
| 41 virtual void reload(bool ignoreCache, bool isClientRedirect) { } | 41 virtual void reload(bool ignoreCache, bool isClientRedirect) { } |
| 42 | 42 |
| 43 // FIXME: Remove this method once we have input routing in the browser | 43 // FIXME: Remove this method once we have input routing in the browser |
| 44 // process. See http://crbug.com/339659. | 44 // process. See http://crbug.com/339659. |
| 45 virtual void forwardInputEvent(const WebInputEvent*) { } | 45 virtual void forwardInputEvent(const WebInputEvent*) { } |
| 46 | 46 |
| 47 virtual void frameRectsChanged(const WebRect&) { } | 47 virtual void frameRectsChanged(const WebRect&) { } |
| 48 | 48 |
| 49 // This frame updated its opener to another frame. | 49 // This frame updated its opener to another frame. |
| 50 virtual void didChangeOpener(WebFrame* opener) { } | 50 virtual void didChangeOpener(WebFrame* opener) { } |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace blink | 53 } // namespace blink |
| 54 | 54 |
| 55 #endif // WebRemoteFrameClient_h | 55 #endif // WebRemoteFrameClient_h |
| OLD | NEW |