| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 312 const gfx::Vector2dF& content_offset, |
| 313 float overdraw_bottom_height) = 0; | 313 float overdraw_bottom_height) = 0; |
| 314 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; | 314 virtual void HasTouchEventHandlers(bool need_touch_events) = 0; |
| 315 |
| 316 // Request a periodic vsync signal notification from the View. The signal will |
| 317 // be delivered until explicitly disabled. |
| 318 virtual void SetVSyncNotificationEnabled(bool enabled) = 0; |
| 315 #endif | 319 #endif |
| 316 | 320 |
| 317 #if defined(OS_WIN) && !defined(USE_AURA) | 321 #if defined(OS_WIN) && !defined(USE_AURA) |
| 318 virtual void WillWmDestroy() = 0; | 322 virtual void WillWmDestroy() = 0; |
| 319 #endif | 323 #endif |
| 320 }; | 324 }; |
| 321 | 325 |
| 322 } // namespace content | 326 } // namespace content |
| 323 | 327 |
| 324 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 328 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |