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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { | 549 RenderWidgetHostViewChildFrame::GetAcceleratedWidgetMac() const { |
550 return nullptr; | 550 return nullptr; |
551 } | 551 } |
552 | 552 |
553 void RenderWidgetHostViewChildFrame::SetActive(bool active) { | 553 void RenderWidgetHostViewChildFrame::SetActive(bool active) { |
554 } | 554 } |
555 | 555 |
556 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { | 556 void RenderWidgetHostViewChildFrame::ShowDefinitionForSelection() { |
557 } | 557 } |
558 | 558 |
559 bool RenderWidgetHostViewChildFrame::SupportsSpeech() const { | |
560 return false; | |
561 } | |
562 | |
563 void RenderWidgetHostViewChildFrame::SpeakSelection() { | 559 void RenderWidgetHostViewChildFrame::SpeakSelection() { |
564 } | 560 } |
565 | 561 |
566 bool RenderWidgetHostViewChildFrame::IsSpeaking() const { | |
567 return false; | |
568 } | |
569 | |
570 void RenderWidgetHostViewChildFrame::StopSpeaking() { | |
571 } | |
572 #endif // defined(OS_MACOSX) | 562 #endif // defined(OS_MACOSX) |
573 | 563 |
574 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback( | 564 void RenderWidgetHostViewChildFrame::RegisterFrameSwappedCallback( |
575 std::unique_ptr<base::Closure> callback) { | 565 std::unique_ptr<base::Closure> callback) { |
576 frame_swapped_callbacks_.push_back(std::move(callback)); | 566 frame_swapped_callbacks_.push_back(std::move(callback)); |
577 } | 567 } |
578 | 568 |
579 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 569 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
580 const gfx::Rect& src_subrect, | 570 const gfx::Rect& src_subrect, |
581 const gfx::Size& output_size, | 571 const gfx::Size& output_size, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 | 691 |
702 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { | 692 bool RenderWidgetHostViewChildFrame::IsChildFrameForTesting() const { |
703 return true; | 693 return true; |
704 } | 694 } |
705 | 695 |
706 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { | 696 cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const { |
707 return surface_id_; | 697 return surface_id_; |
708 }; | 698 }; |
709 | 699 |
710 } // namespace content | 700 } // namespace content |
OLD | NEW |