| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 float page_scale_factor, | 237 float page_scale_factor, |
| 238 float min_page_scale_factor, | 238 float min_page_scale_factor, |
| 239 float max_page_scale_factor, | 239 float max_page_scale_factor, |
| 240 const gfx::Size& content_size) = 0; | 240 const gfx::Size& content_size) = 0; |
| 241 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; | 241 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; |
| 242 #endif | 242 #endif |
| 243 | 243 |
| 244 virtual void AcceleratedSurfaceNew( | 244 virtual void AcceleratedSurfaceNew( |
| 245 int32 width_in_pixel, | 245 int32 width_in_pixel, |
| 246 int32 height_in_pixel, | 246 int32 height_in_pixel, |
| 247 uint64 surface_id) {} | 247 uint64 surface_id, |
| 248 const std::string& mailbox_name) {} |
| 248 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} | 249 virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} |
| 249 | 250 |
| 250 #if defined(TOOLKIT_GTK) | 251 #if defined(TOOLKIT_GTK) |
| 251 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; | 252 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
| 252 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; | 253 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |
| 253 #endif // defined(TOOLKIT_GTK) | 254 #endif // defined(TOOLKIT_GTK) |
| 254 | 255 |
| 255 #if defined(OS_WIN) && !defined(USE_AURA) | 256 #if defined(OS_WIN) && !defined(USE_AURA) |
| 256 virtual void WillWmDestroy() = 0; | 257 virtual void WillWmDestroy() = 0; |
| 257 #endif | 258 #endif |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 virtual BrowserAccessibilityManager* | 295 virtual BrowserAccessibilityManager* |
| 295 GetBrowserAccessibilityManager() const = 0; | 296 GetBrowserAccessibilityManager() const = 0; |
| 296 virtual void OnAccessibilityNotifications( | 297 virtual void OnAccessibilityNotifications( |
| 297 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 298 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 298 } | 299 } |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace content | 302 } // namespace content |
| 302 | 303 |
| 303 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 304 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |