| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 int32 height, | 227 int32 height, |
| 228 TransportDIB::Handle transport_dib) = 0; | 228 TransportDIB::Handle transport_dib) = 0; |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 #if defined(OS_ANDROID) | 231 #if defined(OS_ANDROID) |
| 232 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 232 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 233 const SkBitmap& zoomed_bitmap) = 0; | 233 const SkBitmap& zoomed_bitmap) = 0; |
| 234 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 234 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
| 235 float maximum_scale) = 0; | 235 float maximum_scale) = 0; |
| 236 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, | 236 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, |
| 237 const gfx::Vector2d& unused_scroll_delta, |
| 237 float page_scale_factor, | 238 float page_scale_factor, |
| 238 float min_page_scale_factor, | 239 float min_page_scale_factor, |
| 239 float max_page_scale_factor, | 240 float max_page_scale_factor, |
| 240 const gfx::Size& content_size, | 241 const gfx::Size& content_size, |
| 241 const gfx::Vector2dF& controls_offset, | 242 const gfx::Vector2dF& controls_offset, |
| 242 const gfx::Vector2dF& content_offset) = 0; | 243 const gfx::Vector2dF& content_offset) = 0; |
| 243 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; | 244 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; |
| 244 #endif | 245 #endif |
| 245 | 246 |
| 246 virtual void AcceleratedSurfaceRelease() {} | 247 virtual void AcceleratedSurfaceRelease() {} |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 virtual BrowserAccessibilityManager* | 293 virtual BrowserAccessibilityManager* |
| 293 GetBrowserAccessibilityManager() const = 0; | 294 GetBrowserAccessibilityManager() const = 0; |
| 294 virtual void OnAccessibilityNotifications( | 295 virtual void OnAccessibilityNotifications( |
| 295 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 296 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 296 } | 297 } |
| 297 }; | 298 }; |
| 298 | 299 |
| 299 } // namespace content | 300 } // namespace content |
| 300 | 301 |
| 301 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 302 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |