| 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() override; | 91 void DidCreateNewRendererCompositorFrameSink( |
| 92 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) |
| 93 override; |
| 92 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, | 94 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
| 93 cc::CompositorFrame frame) override; | 95 cc::CompositorFrame frame) override; |
| 94 void ClearCompositorFrame() override {} | 96 void ClearCompositorFrame() override {} |
| 95 void SetNeedsBeginFrames(bool needs_begin_frames) override {} | 97 void SetNeedsBeginFrames(bool needs_begin_frames) override {} |
| 96 | 98 |
| 97 // RenderWidgetHostViewBase implementation. | 99 // RenderWidgetHostViewBase implementation. |
| 98 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 100 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 99 const gfx::Rect& bounds) override {} | 101 const gfx::Rect& bounds) override {} |
| 100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 102 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 101 void Focus() override {} | 103 void Focus() override {} |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 private: | 305 private: |
| 304 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 305 ScopedSetSupportedScaleFactors; | 307 ScopedSetSupportedScaleFactors; |
| 306 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 307 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 308 }; | 310 }; |
| 309 | 311 |
| 310 } // namespace content | 312 } // namespace content |
| 311 | 313 |
| 312 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |