| 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 21 matching lines...) Expand all Loading... |
| 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 scaleFactor) { } |
| 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 virtual void close() { } |
| 42 | 43 |
| 43 // 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 |
| 44 // process. See http://crbug.com/339659. | 45 // process. See http://crbug.com/339659. |
| 45 virtual void forwardInputEvent(const WebInputEvent*) { } | 46 virtual void forwardInputEvent(const WebInputEvent*) { } |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 } // namespace blink | 49 } // namespace blink |
| 49 | 50 |
| 50 #endif // WebRemoteFrameClient_h | 51 #endif // WebRemoteFrameClient_h |
| OLD | NEW |