| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 platform_view_->StopSpeaking(); | 452 platform_view_->StopSpeaking(); |
| 453 } | 453 } |
| 454 | 454 |
| 455 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( | 455 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( |
| 456 const NativeWebKeyboardEvent& event) { | 456 const NativeWebKeyboardEvent& event) { |
| 457 return false; | 457 return false; |
| 458 } | 458 } |
| 459 | 459 |
| 460 #endif // defined(OS_MACOSX) | 460 #endif // defined(OS_MACOSX) |
| 461 | 461 |
| 462 #if defined(OS_ANDROID) | 462 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 463 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 463 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
| 464 const gfx::Rect& target_rect, | 464 const gfx::Rect& rect_pixels, |
| 465 const SkBitmap& zoomed_bitmap) { | 465 const SkBitmap& zoomed_bitmap) { |
| 466 } | 466 } |
| 467 #endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 467 | 468 |
| 469 #if defined(OS_ANDROID) |
| 468 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 470 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
| 469 } | 471 } |
| 470 | 472 |
| 471 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 473 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
| 472 } | 474 } |
| 473 #endif // defined(OS_ANDROID) | 475 #endif // defined(OS_ANDROID) |
| 474 | 476 |
| 475 #if defined(OS_WIN) | 477 #if defined(OS_WIN) |
| 476 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( | 478 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( |
| 477 gfx::NativeViewAccessible accessible_parent) { | 479 gfx::NativeViewAccessible accessible_parent) { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 } | 606 } |
| 605 | 607 |
| 606 if (blink::WebInputEvent::isGestureEventType(event->type)) { | 608 if (blink::WebInputEvent::isGestureEventType(event->type)) { |
| 607 host_->ForwardGestureEvent( | 609 host_->ForwardGestureEvent( |
| 608 *static_cast<const blink::WebGestureEvent*>(event)); | 610 *static_cast<const blink::WebGestureEvent*>(event)); |
| 609 return; | 611 return; |
| 610 } | 612 } |
| 611 } | 613 } |
| 612 | 614 |
| 613 } // namespace content | 615 } // namespace content |
| OLD | NEW |