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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 | 490 |
491 #endif // defined(OS_MACOSX) | 491 #endif // defined(OS_MACOSX) |
492 | 492 |
493 #if defined(OS_ANDROID) | 493 #if defined(OS_ANDROID) |
494 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 494 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
495 const gfx::Rect& target_rect, | 495 const gfx::Rect& target_rect, |
496 const SkBitmap& zoomed_bitmap) { | 496 const SkBitmap& zoomed_bitmap) { |
497 } | 497 } |
498 #endif // defined(OS_ANDROID) | 498 #endif // defined(OS_ANDROID) |
499 | 499 |
500 #if defined(TOOLKIT_GTK) | |
501 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { | |
502 return NULL; | |
503 } | |
504 | |
505 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { | |
506 return platform_view_->BuildInputMethodsGtkMenu(); | |
507 } | |
508 #endif // defined(TOOLKIT_GTK) | |
509 | |
510 #if defined(OS_WIN) | 500 #if defined(OS_WIN) |
511 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( | 501 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( |
512 gfx::NativeViewAccessible accessible_parent) { | 502 gfx::NativeViewAccessible accessible_parent) { |
513 } | 503 } |
514 | 504 |
515 gfx::NativeViewId RenderWidgetHostViewGuest::GetParentForWindowlessPlugin() | 505 gfx::NativeViewId RenderWidgetHostViewGuest::GetParentForWindowlessPlugin() |
516 const { | 506 const { |
517 return NULL; | 507 return NULL; |
518 } | 508 } |
519 #endif | 509 #endif |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 ++g_it) { | 580 ++g_it) { |
591 ForwardGestureEventToRenderer(*g_it); | 581 ForwardGestureEventToRenderer(*g_it); |
592 } | 582 } |
593 } | 583 } |
594 | 584 |
595 SkBitmap::Config RenderWidgetHostViewGuest::PreferredReadbackFormat() { | 585 SkBitmap::Config RenderWidgetHostViewGuest::PreferredReadbackFormat() { |
596 return SkBitmap::kARGB_8888_Config; | 586 return SkBitmap::kARGB_8888_Config; |
597 } | 587 } |
598 | 588 |
599 } // namespace content | 589 } // namespace content |
OLD | NEW |