| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 virtual void InitAsFullscreen( | 66 virtual void InitAsFullscreen( |
| 67 RenderWidgetHostView* reference_host_view) = 0; | 67 RenderWidgetHostView* reference_host_view) = 0; |
| 68 | 68 |
| 69 // Notifies the View that it has become visible. | 69 // Notifies the View that it has become visible. |
| 70 virtual void WasShown() = 0; | 70 virtual void WasShown() = 0; |
| 71 | 71 |
| 72 // Notifies the View that it has been hidden. | 72 // Notifies the View that it has been hidden. |
| 73 virtual void WasHidden() = 0; | 73 virtual void WasHidden() = 0; |
| 74 | 74 |
| 75 // Moves all plugin windows as described in the given list. | 75 // Moves all plugin windows as described in the given list. |
| 76 // |scroll_offset| is the scroll offset of the render view. |
| 76 virtual void MovePluginWindows( | 77 virtual void MovePluginWindows( |
| 78 const gfx::Point& scroll_offset, |
| 77 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0; | 79 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0; |
| 78 | 80 |
| 79 // Take focus from the associated View component. | 81 // Take focus from the associated View component. |
| 80 virtual void Blur() = 0; | 82 virtual void Blur() = 0; |
| 81 | 83 |
| 82 // Sets the cursor to the one associated with the specified cursor_type | 84 // Sets the cursor to the one associated with the specified cursor_type |
| 83 virtual void UpdateCursor(const WebCursor& cursor) = 0; | 85 virtual void UpdateCursor(const WebCursor& cursor) = 0; |
| 84 | 86 |
| 85 // Indicates whether the page has finished loading. | 87 // Indicates whether the page has finished loading. |
| 86 virtual void SetIsLoading(bool is_loading) = 0; | 88 virtual void SetIsLoading(bool is_loading) = 0; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 virtual BrowserAccessibilityManager* | 271 virtual BrowserAccessibilityManager* |
| 270 GetBrowserAccessibilityManager() const = 0; | 272 GetBrowserAccessibilityManager() const = 0; |
| 271 virtual void OnAccessibilityNotifications( | 273 virtual void OnAccessibilityNotifications( |
| 272 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 274 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 273 } | 275 } |
| 274 }; | 276 }; |
| 275 | 277 |
| 276 } // namespace content | 278 } // namespace content |
| 277 | 279 |
| 278 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 280 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |