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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const gfx::Rect& pos) = 0; | 58 const gfx::Rect& pos) = 0; |
59 | 59 |
60 // Perform all the initialization steps necessary for this object to represent | 60 // Perform all the initialization steps necessary for this object to represent |
61 // a full screen window. | 61 // a full screen window. |
62 // |reference_host_view| is the view associated with the creating page that | 62 // |reference_host_view| is the view associated with the creating page that |
63 // helps to position the full screen widget on the correct monitor. | 63 // helps to position the full screen widget on the correct monitor. |
64 virtual void InitAsFullscreen( | 64 virtual void InitAsFullscreen( |
65 RenderWidgetHostView* reference_host_view) = 0; | 65 RenderWidgetHostView* reference_host_view) = 0; |
66 | 66 |
67 // Notifies the View that it has become visible. | 67 // Notifies the View that it has become visible. |
68 virtual void WasRestored() = 0; | 68 virtual void WasShown() = 0; |
69 | 69 |
70 // Notifies the View that it has been hidden. | 70 // Notifies the View that it has been hidden. |
71 virtual void WasHidden() = 0; | 71 virtual void WasHidden() = 0; |
72 | 72 |
73 // Moves all plugin windows as described in the given list. | 73 // Moves all plugin windows as described in the given list. |
74 virtual void MovePluginWindows( | 74 virtual void MovePluginWindows( |
75 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0; | 75 const std::vector<webkit::npapi::WebPluginGeometry>& moves) = 0; |
76 | 76 |
77 // Take focus from the associated View component. | 77 // Take focus from the associated View component. |
78 virtual void Blur() = 0; | 78 virtual void Blur() = 0; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 virtual BrowserAccessibilityManager* | 264 virtual BrowserAccessibilityManager* |
265 GetBrowserAccessibilityManager() const = 0; | 265 GetBrowserAccessibilityManager() const = 0; |
266 virtual void OnAccessibilityNotifications( | 266 virtual void OnAccessibilityNotifications( |
267 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 267 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
268 } | 268 } |
269 }; | 269 }; |
270 | 270 |
271 } // namespace content | 271 } // namespace content |
272 | 272 |
273 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 273 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
OLD | NEW |