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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 platform_view_->StopSpeaking(); | 424 platform_view_->StopSpeaking(); |
425 } | 425 } |
426 | 426 |
427 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( | 427 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( |
428 const NativeWebKeyboardEvent& event) { | 428 const NativeWebKeyboardEvent& event) { |
429 return false; | 429 return false; |
430 } | 430 } |
431 | 431 |
432 #endif // defined(OS_MACOSX) | 432 #endif // defined(OS_MACOSX) |
433 | 433 |
434 #if defined(OS_ANDROID) | 434 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
435 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 435 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
436 const gfx::Rect& target_rect, | 436 const gfx::Rect& target_rect, |
437 const SkBitmap& zoomed_bitmap) { | 437 const SkBitmap& zoomed_bitmap) { |
438 } | 438 } |
| 439 #endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
439 | 440 |
| 441 #if defined(OS_ANDROID) |
440 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 442 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
441 } | 443 } |
442 | 444 |
443 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 445 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
444 } | 446 } |
445 #endif // defined(OS_ANDROID) | 447 #endif // defined(OS_ANDROID) |
446 | 448 |
447 #if defined(OS_WIN) | 449 #if defined(OS_WIN) |
448 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( | 450 void RenderWidgetHostViewGuest::SetParentNativeViewAccessible( |
449 gfx::NativeViewAccessible accessible_parent) { | 451 gfx::NativeViewAccessible accessible_parent) { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 } | 579 } |
578 | 580 |
579 if (blink::WebInputEvent::isGestureEventType(event->type)) { | 581 if (blink::WebInputEvent::isGestureEventType(event->type)) { |
580 host_->ForwardGestureEvent( | 582 host_->ForwardGestureEvent( |
581 *static_cast<const blink::WebGestureEvent*>(event)); | 583 *static_cast<const blink::WebGestureEvent*>(event)); |
582 return; | 584 return; |
583 } | 585 } |
584 } | 586 } |
585 | 587 |
586 } // namespace content | 588 } // namespace content |
OLD | NEW |