| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 302 |
| 303 #if defined(OS_ANDROID) | 303 #if defined(OS_ANDROID) |
| 304 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 304 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 305 const SkBitmap& zoomed_bitmap) = 0; | 305 const SkBitmap& zoomed_bitmap) = 0; |
| 306 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 306 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
| 307 float page_scale_factor, | 307 float page_scale_factor, |
| 308 const gfx::Vector2dF& page_scale_factor_limits, | 308 const gfx::Vector2dF& page_scale_factor_limits, |
| 309 const gfx::SizeF& content_size, | 309 const gfx::SizeF& content_size, |
| 310 const gfx::SizeF& viewport_size, | 310 const gfx::SizeF& viewport_size, |
| 311 const gfx::Vector2dF& controls_offset, | 311 const gfx::Vector2dF& controls_offset, |
| 312 const gfx::Vector2dF& content_offset) = 0; | 312 const gfx::Vector2dF& content_offset, |
| 313 float overdraw_bottom_height) = 0; |
| 313 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; | 314 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; |
| 314 #endif | 315 #endif |
| 315 | 316 |
| 316 #if defined(OS_WIN) && !defined(USE_AURA) | 317 #if defined(OS_WIN) && !defined(USE_AURA) |
| 317 virtual void WillWmDestroy() = 0; | 318 virtual void WillWmDestroy() = 0; |
| 318 #endif | 319 #endif |
| 319 }; | 320 }; |
| 320 | 321 |
| 321 } // namespace content | 322 } // namespace content |
| 322 | 323 |
| 323 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 324 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |