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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 | 467 |
468 bool RenderWidgetHostViewGuest::IsSpeaking() const { | 468 bool RenderWidgetHostViewGuest::IsSpeaking() const { |
469 return platform_view_->IsSpeaking(); | 469 return platform_view_->IsSpeaking(); |
470 } | 470 } |
471 | 471 |
472 void RenderWidgetHostViewGuest::StopSpeaking() { | 472 void RenderWidgetHostViewGuest::StopSpeaking() { |
473 platform_view_->StopSpeaking(); | 473 platform_view_->StopSpeaking(); |
474 } | 474 } |
475 #endif // defined(OS_MACOSX) | 475 #endif // defined(OS_MACOSX) |
476 | 476 |
477 #if defined(OS_ANDROID) || defined(USE_AURA) | |
478 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | |
479 const gfx::Rect& rect_pixels, | |
480 const SkBitmap& zoomed_bitmap) { | |
481 } | |
482 #endif // defined(OS_ANDROID) || defined(USE_AURA) | |
483 | |
484 void RenderWidgetHostViewGuest::LockCompositingSurface() { | 477 void RenderWidgetHostViewGuest::LockCompositingSurface() { |
485 NOTIMPLEMENTED(); | 478 NOTIMPLEMENTED(); |
486 } | 479 } |
487 | 480 |
488 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { | 481 void RenderWidgetHostViewGuest::UnlockCompositingSurface() { |
489 NOTIMPLEMENTED(); | 482 NOTIMPLEMENTED(); |
490 } | 483 } |
491 | 484 |
492 RenderWidgetHostViewBase* | 485 RenderWidgetHostViewBase* |
493 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const { | 486 RenderWidgetHostViewGuest::GetOwnerRenderWidgetHostView() const { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && | 575 if (gesture_event.type == blink::WebInputEvent::GestureScrollUpdate && |
583 gesture_event.data.scrollUpdate.inertial) { | 576 gesture_event.data.scrollUpdate.inertial) { |
584 return; | 577 return; |
585 } | 578 } |
586 host_->ForwardGestureEvent(gesture_event); | 579 host_->ForwardGestureEvent(gesture_event); |
587 return; | 580 return; |
588 } | 581 } |
589 } | 582 } |
590 | 583 |
591 } // namespace content | 584 } // namespace content |
OLD | NEW |