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 #include "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 const SkBitmap& zoomed_bitmap) { | 397 const SkBitmap& zoomed_bitmap) { |
398 } | 398 } |
399 | 399 |
400 void RenderWidgetHostViewGuest::UpdateFrameInfo( | 400 void RenderWidgetHostViewGuest::UpdateFrameInfo( |
401 const gfx::Vector2dF& scroll_offset, | 401 const gfx::Vector2dF& scroll_offset, |
402 float page_scale_factor, | 402 float page_scale_factor, |
403 const gfx::Vector2dF& page_scale_factor_limits, | 403 const gfx::Vector2dF& page_scale_factor_limits, |
404 const gfx::SizeF& content_size, | 404 const gfx::SizeF& content_size, |
405 const gfx::SizeF& viewport_size, | 405 const gfx::SizeF& viewport_size, |
406 const gfx::Vector2dF& controls_offset, | 406 const gfx::Vector2dF& controls_offset, |
407 const gfx::Vector2dF& content_offset) { | 407 const gfx::Vector2dF& content_offset, |
| 408 float overdraw_bottom_height) { |
408 } | 409 } |
409 | 410 |
410 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { | 411 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { |
411 } | 412 } |
412 #endif // defined(OS_ANDROID) | 413 #endif // defined(OS_ANDROID) |
413 | 414 |
414 #if defined(TOOLKIT_GTK) | 415 #if defined(TOOLKIT_GTK) |
415 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { | 416 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { |
416 return NULL; | 417 return NULL; |
417 } | 418 } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 return; | 493 return; |
493 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 494 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
494 g_it != gestures->end(); | 495 g_it != gestures->end(); |
495 ++g_it) { | 496 ++g_it) { |
496 ForwardGestureEventToRenderer(*g_it); | 497 ForwardGestureEventToRenderer(*g_it); |
497 } | 498 } |
498 } | 499 } |
499 | 500 |
500 | 501 |
501 } // namespace content | 502 } // namespace content |
OLD | NEW |