OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 SkColor background_color() const override; | 81 SkColor background_color() const override; |
82 #if defined(OS_MACOSX) | 82 #if defined(OS_MACOSX) |
83 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 83 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
84 void SetActive(bool active) override; | 84 void SetActive(bool active) override; |
85 void ShowDefinitionForSelection() override {} | 85 void ShowDefinitionForSelection() override {} |
86 bool SupportsSpeech() const override; | 86 bool SupportsSpeech() const override; |
87 void SpeakSelection() override; | 87 void SpeakSelection() override; |
88 bool IsSpeaking() const override; | 88 bool IsSpeaking() const override; |
89 void StopSpeaking() override; | 89 void StopSpeaking() override; |
90 #endif // defined(OS_MACOSX) | 90 #endif // defined(OS_MACOSX) |
91 void DidCreateNewRendererCompositorFrameSink( | 91 void DidCreateNewRendererCompositorFrameSink() override; |
92 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) | |
93 override; | |
94 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, | 92 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
95 cc::CompositorFrame frame) override; | 93 cc::CompositorFrame frame) override; |
96 void ClearCompositorFrame() override {} | 94 void ClearCompositorFrame() override {} |
97 void SetNeedsBeginFrames(bool needs_begin_frames) override {} | 95 void SetNeedsBeginFrames(bool needs_begin_frames) override {} |
98 | 96 |
99 // RenderWidgetHostViewBase implementation. | 97 // RenderWidgetHostViewBase implementation. |
100 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 98 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
101 const gfx::Rect& bounds) override {} | 99 const gfx::Rect& bounds) override {} |
102 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
103 void Focus() override {} | 101 void Focus() override {} |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 private: | 303 private: |
306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 304 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
307 ScopedSetSupportedScaleFactors; | 305 ScopedSetSupportedScaleFactors; |
308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 306 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 307 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
310 }; | 308 }; |
311 | 309 |
312 } // namespace content | 310 } // namespace content |
313 | 311 |
314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 312 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |