OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/message_loop.h" | 8 #include "base/message_loop/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/frame_host/render_widget_host_view_guest.h" | 10 #include "content/browser/frame_host/render_widget_host_view_guest.h" |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 return false; | 450 return false; |
451 } | 451 } |
452 | 452 |
453 #endif // defined(OS_MACOSX) | 453 #endif // defined(OS_MACOSX) |
454 | 454 |
455 #if defined(OS_ANDROID) | 455 #if defined(OS_ANDROID) |
456 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 456 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
457 const gfx::Rect& target_rect, | 457 const gfx::Rect& target_rect, |
458 const SkBitmap& zoomed_bitmap) { | 458 const SkBitmap& zoomed_bitmap) { |
459 } | 459 } |
460 | |
461 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { | |
462 } | |
463 #endif // defined(OS_ANDROID) | 460 #endif // defined(OS_ANDROID) |
464 | 461 |
465 #if defined(TOOLKIT_GTK) | 462 #if defined(TOOLKIT_GTK) |
466 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { | 463 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { |
467 return NULL; | 464 return NULL; |
468 } | 465 } |
469 | 466 |
470 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { | 467 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { |
471 return platform_view_->BuildInputMethodsGtkMenu(); | 468 return platform_view_->BuildInputMethodsGtkMenu(); |
472 } | 469 } |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 return; | 552 return; |
556 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 553 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
557 g_it != gestures->end(); | 554 g_it != gestures->end(); |
558 ++g_it) { | 555 ++g_it) { |
559 ForwardGestureEventToRenderer(*g_it); | 556 ForwardGestureEventToRenderer(*g_it); |
560 } | 557 } |
561 } | 558 } |
562 | 559 |
563 | 560 |
564 } // namespace content | 561 } // namespace content |
OLD | NEW |