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