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 "content/browser/frame_host/render_widget_host_view_guest.h" | 5 #include "content/browser/frame_host/render_widget_host_view_guest.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 | 477 |
478 bool RenderWidgetHostViewGuest::IsSpeaking() const { | 478 bool RenderWidgetHostViewGuest::IsSpeaking() const { |
479 return platform_view_->IsSpeaking(); | 479 return platform_view_->IsSpeaking(); |
480 } | 480 } |
481 | 481 |
482 void RenderWidgetHostViewGuest::StopSpeaking() { | 482 void RenderWidgetHostViewGuest::StopSpeaking() { |
483 platform_view_->StopSpeaking(); | 483 platform_view_->StopSpeaking(); |
484 } | 484 } |
485 #endif // defined(OS_MACOSX) | 485 #endif // defined(OS_MACOSX) |
486 | 486 |
487 #if defined(OS_ANDROID) || defined(USE_AURA) | |
488 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | |
489 const gfx::Rect& rect_pixels, | |
490 const SkBitmap& zoomed_bitmap) { | |
491 } | |
492 #endif // defined(OS_ANDROID) || defined(USE_AURA) | |
493 | |
494 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 487 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
495 NOTIMPLEMENTED(); | 488 NOTIMPLEMENTED(); |
496 } | 489 } |
497 | 490 |
498 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 491 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
499 NOTIMPLEMENTED(); | 492 NOTIMPLEMENTED(); |
500 } | 493 } |
501 | 494 |
502 RenderWidgetHostViewBase* | 495 RenderWidgetHostViewBase* |
503 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const { | 496 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && | 585 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && |
593 gesture_event.data.scrollUpdate.inertial) { | 586 gesture_event.data.scrollUpdate.inertial) { |
594 return; | 587 return; |
595 } | 588 } |
596 host_->ForwardGestureEvent(gesture_event); | 589 host_->ForwardGestureEvent(gesture_event); |
597 return; | 590 return; |
598 } | 591 } |
599 } | 592 } |
600 | 593 |
601 } // namespace content | 594 } // namespace content |
OLD | NEW |