| 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 <vector> |
| 9 |
| 8 #include "base/callback.h" | 10 #include "base/callback.h" |
| 9 #include "base/process_util.h" | 11 #include "base/process_util.h" |
| 10 #include "base/string16.h" | 12 #include "base/string16.h" |
| 11 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 12 #include "content/public/browser/render_widget_host_view.h" | 14 #include "content/public/browser/render_widget_host_view.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 14 #include "ui/base/ime/text_input_type.h" | 16 #include "ui/base/ime/text_input_type.h" |
| 15 #include "ui/base/range/range.h" | 17 #include "ui/base/range/range.h" |
| 16 #include "ui/surface/transport_dib.h" | 18 #include "ui/surface/transport_dib.h" |
| 17 | 19 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 virtual void AcceleratedSurfaceSetIOSurface( | 208 virtual void AcceleratedSurfaceSetIOSurface( |
| 207 gfx::PluginWindowHandle window, | 209 gfx::PluginWindowHandle window, |
| 208 int32 width, | 210 int32 width, |
| 209 int32 height, | 211 int32 height, |
| 210 uint64 io_surface_identifier) = 0; | 212 uint64 io_surface_identifier) = 0; |
| 211 virtual void AcceleratedSurfaceSetTransportDIB( | 213 virtual void AcceleratedSurfaceSetTransportDIB( |
| 212 gfx::PluginWindowHandle window, | 214 gfx::PluginWindowHandle window, |
| 213 int32 width, | 215 int32 width, |
| 214 int32 height, | 216 int32 height, |
| 215 TransportDIB::Handle transport_dib) = 0; | 217 TransportDIB::Handle transport_dib) = 0; |
| 218 |
| 219 // Tells the view to speak the given |text|. |
| 220 virtual void SpeakText(const string16& text) = 0; |
| 216 #endif | 221 #endif |
| 217 | 222 |
| 218 virtual void AcceleratedSurfaceNew( | 223 virtual void AcceleratedSurfaceNew( |
| 219 int32 width_in_pixel, | 224 int32 width_in_pixel, |
| 220 int32 height_in_pixel, | 225 int32 height_in_pixel, |
| 221 uint64 surface_id) {} | 226 uint64 surface_id) {} |
| 222 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} | 227 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} |
| 223 | 228 |
| 224 #if defined(TOOLKIT_GTK) | 229 #if defined(TOOLKIT_GTK) |
| 225 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 230 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 virtual BrowserAccessibilityManager* | 269 virtual BrowserAccessibilityManager* |
| 265 GetBrowserAccessibilityManager() const = 0; | 270 GetBrowserAccessibilityManager() const = 0; |
| 266 virtual void OnAccessibilityNotifications( | 271 virtual void OnAccessibilityNotifications( |
| 267 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 272 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 268 } | 273 } |
| 269 }; | 274 }; |
| 270 | 275 |
| 271 } // namespace content | 276 } // namespace content |
| 272 | 277 |
| 273 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 278 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |