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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 } | 408 } |
409 | 409 |
410 #endif // defined(OS_MACOSX) | 410 #endif // defined(OS_MACOSX) |
411 | 411 |
412 #if defined(OS_ANDROID) | 412 #if defined(OS_ANDROID) |
413 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 413 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
414 const gfx::Rect& target_rect, | 414 const gfx::Rect& target_rect, |
415 const SkBitmap& zoomed_bitmap) { | 415 const SkBitmap& zoomed_bitmap) { |
416 } | 416 } |
417 | 417 |
418 void RenderWidgetHostViewGuest::UpdateFrameInfo( | |
419 const gfx::Vector2dF& scroll_offset, | |
420 float page_scale_factor, | |
421 const gfx::Vector2dF& page_scale_factor_limits, | |
422 const gfx::SizeF& content_size, | |
423 const gfx::SizeF& viewport_size, | |
424 const gfx::Vector2dF& controls_offset, | |
425 const gfx::Vector2dF& content_offset, | |
426 float overdraw_bottom_height) { | |
427 } | |
428 | |
429 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { | 418 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { |
430 } | 419 } |
431 #endif // defined(OS_ANDROID) | 420 #endif // defined(OS_ANDROID) |
432 | 421 |
433 #if defined(TOOLKIT_GTK) | 422 #if defined(TOOLKIT_GTK) |
434 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { | 423 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { |
435 return NULL; | 424 return NULL; |
436 } | 425 } |
437 | 426 |
438 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { | 427 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 return; | 500 return; |
512 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 501 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
513 g_it != gestures->end(); | 502 g_it != gestures->end(); |
514 ++g_it) { | 503 ++g_it) { |
515 ForwardGestureEventToRenderer(*g_it); | 504 ForwardGestureEventToRenderer(*g_it); |
516 } | 505 } |
517 } | 506 } |
518 | 507 |
519 | 508 |
520 } // namespace content | 509 } // namespace content |
OLD | NEW |