| 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 11 matching lines...) Expand all Loading... |
| 22 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | 22 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
| 23 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; | 23 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
| 24 struct ViewHostMsg_TextInputState_Params; | 24 struct ViewHostMsg_TextInputState_Params; |
| 25 | 25 |
| 26 namespace webkit { | 26 namespace webkit { |
| 27 namespace npapi { | 27 namespace npapi { |
| 28 struct WebPluginGeometry; | 28 struct WebPluginGeometry; |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace WebKit { |
| 33 struct WebCompositorFrame; |
| 32 #if defined(OS_POSIX) || defined(USE_AURA) | 34 #if defined(OS_POSIX) || defined(USE_AURA) |
| 33 namespace WebKit { | |
| 34 struct WebScreenInfo; | 35 struct WebScreenInfo; |
| 36 #endif |
| 35 } | 37 } |
| 36 #endif | |
| 37 | 38 |
| 38 namespace content { | 39 namespace content { |
| 39 class BackingStore; | 40 class BackingStore; |
| 40 class SmoothScrollGesture; | 41 class SmoothScrollGesture; |
| 41 struct NativeWebKeyboardEvent; | 42 struct NativeWebKeyboardEvent; |
| 42 | 43 |
| 43 // This is the larger RenderWidgetHostView interface exposed only | 44 // This is the larger RenderWidgetHostView interface exposed only |
| 44 // within content/ and to embedders looking to port to new platforms. | 45 // within content/ and to embedders looking to port to new platforms. |
| 45 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. | 46 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. |
| 46 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView { | 47 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView { |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 int32 height, | 222 int32 height, |
| 222 TransportDIB::Handle transport_dib) = 0; | 223 TransportDIB::Handle transport_dib) = 0; |
| 223 #endif | 224 #endif |
| 224 | 225 |
| 225 virtual void AcceleratedSurfaceNew( | 226 virtual void AcceleratedSurfaceNew( |
| 226 int32 width_in_pixel, | 227 int32 width_in_pixel, |
| 227 int32 height_in_pixel, | 228 int32 height_in_pixel, |
| 228 uint64 surface_id) {} | 229 uint64 surface_id) {} |
| 229 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} | 230 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} |
| 230 | 231 |
| 232 virtual void SwapCompositorFrame(const WebKit::WebCompositorFrame& frame) {} |
| 233 |
| 231 #if defined(TOOLKIT_GTK) | 234 #if defined(TOOLKIT_GTK) |
| 232 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 235 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 233 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 236 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 234 #endif // defined(TOOLKIT_GTK) | 237 #endif // defined(TOOLKIT_GTK) |
| 235 | 238 |
| 236 #if defined(OS_WIN) && !defined(USE_AURA) | 239 #if defined(OS_WIN) && !defined(USE_AURA) |
| 237 virtual void WillWmDestroy() = 0; | 240 virtual void WillWmDestroy() = 0; |
| 238 #endif | 241 #endif |
| 239 | 242 |
| 240 #if defined(OS_POSIX) || defined(USE_AURA) | 243 #if defined(OS_POSIX) || defined(USE_AURA) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 271 virtual BrowserAccessibilityManager* | 274 virtual BrowserAccessibilityManager* |
| 272 GetBrowserAccessibilityManager() const = 0; | 275 GetBrowserAccessibilityManager() const = 0; |
| 273 virtual void OnAccessibilityNotifications( | 276 virtual void OnAccessibilityNotifications( |
| 274 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 277 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 275 } | 278 } |
| 276 }; | 279 }; |
| 277 | 280 |
| 278 } // namespace content | 281 } // namespace content |
| 279 | 282 |
| 280 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 283 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |