| 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_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 #if defined(OS_MACOSX) | 553 #if defined(OS_MACOSX) |
| 554 ui::AcceleratedWidgetMac* | 554 ui::AcceleratedWidgetMac* |
| 555 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { | 555 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { |
| 556 return nullptr; | 556 return nullptr; |
| 557 } | 557 } |
| 558 | 558 |
| 559 void RenderWidgetHostViewChildFrame::SetActive(bool active) { | 559 void RenderWidgetHostViewChildFrame::SetActive(bool active) { |
| 560 } | 560 } |
| 561 | 561 |
| 562 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { | 562 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { |
| 563 if (frame_connector_) { |
| 564 frame_connector_->GetRootRenderWidgetHostView() |
| 565 ->ShowDefinitionForSelection(); |
| 566 } |
| 563 } | 567 } |
| 564 | 568 |
| 565 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { | 569 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { |
| 566 return false; | 570 return false; |
| 567 } | 571 } |
| 568 | 572 |
| 569 void RenderWidgetHostViewChildFrame::SpeakSelection() { | 573 void RenderWidgetHostViewChildFrame::SpeakSelection() { |
| 570 } | 574 } |
| 571 | 575 |
| 572 bool RenderWidgetHostViewChildFrame::IsSpeaking() const { | 576 bool RenderWidgetHostViewChildFrame::IsSpeaking() const { |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 frame_sink_id_); | 713 frame_sink_id_); |
| 710 } | 714 } |
| 711 support_.reset(); | 715 support_.reset(); |
| 712 } | 716 } |
| 713 | 717 |
| 714 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() { | 718 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() { |
| 715 return false; | 719 return false; |
| 716 } | 720 } |
| 717 | 721 |
| 718 } // namespace content | 722 } // namespace content |
| OLD | NEW |