| 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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { | 560 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { |
| 561 return nullptr; | 561 return nullptr; |
| 562 } | 562 } |
| 563 | 563 |
| 564 void RenderWidgetHostViewChildFrame::SetActive(bool active) { | 564 void RenderWidgetHostViewChildFrame::SetActive(bool active) { |
| 565 } | 565 } |
| 566 | 566 |
| 567 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { | 567 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { |
| 568 } | 568 } |
| 569 | 569 |
| 570 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { | |
| 571 return false; | |
| 572 } | |
| 573 | |
| 574 void RenderWidgetHostViewChildFrame::SpeakSelection() { | 570 void RenderWidgetHostViewChildFrame::SpeakSelection() { |
| 575 } | 571 } |
| 576 | 572 |
| 577 bool RenderWidgetHostViewChildFrame::IsSpeaking() const { | |
| 578 return false; | |
| 579 } | |
| 580 | |
| 581 void RenderWidgetHostViewChildFrame::StopSpeaking() { | |
| 582 } | |
| 583 #endif // defined(OS_MACOSX) | 573 #endif // defined(OS_MACOSX) |
| 584 | 574 |
| 585 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback( | 575 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback( |
| 586 std::unique_ptr<base::Closure> callback) { | 576 std::unique_ptr<base::Closure> callback) { |
| 587 frame_swapped_callbacks_.push_back(std::move(callback)); | 577 frame_swapped_callbacks_.push_back(std::move(callback)); |
| 588 } | 578 } |
| 589 | 579 |
| 590 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 580 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
| 591 const gfx::Rect& src_subrect, | 581 const gfx::Rect& src_subrect, |
| 592 const gfx::Size& output_size, | 582 const gfx::Size& output_size, |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 | 722 |
| 733 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { | 723 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { |
| 734 return true; | 724 return true; |
| 735 } | 725 } |
| 736 | 726 |
| 737 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { | 727 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { |
| 738 return cc::SurfaceId(frame_sink_id_, local_frame_id_); | 728 return cc::SurfaceId(frame_sink_id_, local_frame_id_); |
| 739 }; | 729 }; |
| 740 | 730 |
| 741 } // namespace content | 731 } // namespace content |
| OLD | NEW |