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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #if defined(OS_MACOSX) | 80 #if defined(OS_MACOSX) |
81 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 81 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
82 void SetActive(bool active) override; | 82 void SetActive(bool active) override; |
83 void ShowDefinitionForSelection() override {} | 83 void ShowDefinitionForSelection() override {} |
84 bool SupportsSpeech() const override; | 84 bool SupportsSpeech() const override; |
85 void SpeakSelection() override; | 85 void SpeakSelection() override; |
86 bool IsSpeaking() const override; | 86 bool IsSpeaking() const override; |
87 void StopSpeaking() override; | 87 void StopSpeaking() override; |
88 #endif // defined(OS_MACOSX) | 88 #endif // defined(OS_MACOSX) |
89 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, | 89 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
| 90 const cc::LocalSurfaceId& local_surface_id, |
90 cc::CompositorFrame frame) override; | 91 cc::CompositorFrame frame) override; |
91 void ClearCompositorFrame() override {} | 92 void ClearCompositorFrame() override {} |
92 void SetNeedsBeginFrames(bool needs_begin_frames) override {} | 93 void SetNeedsBeginFrames(bool needs_begin_frames) override {} |
93 | 94 |
94 // RenderWidgetHostViewBase implementation. | 95 // RenderWidgetHostViewBase implementation. |
95 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 96 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
96 const gfx::Rect& bounds) override {} | 97 const gfx::Rect& bounds) override {} |
97 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 98 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
98 void Focus() override {} | 99 void Focus() override {} |
99 void SetIsLoading(bool is_loading) override {} | 100 void SetIsLoading(bool is_loading) override {} |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 private: | 293 private: |
293 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 294 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
294 ScopedSetSupportedScaleFactors; | 295 ScopedSetSupportedScaleFactors; |
295 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 296 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
296 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 297 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
297 }; | 298 }; |
298 | 299 |
299 } // namespace content | 300 } // namespace content |
300 | 301 |
301 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 302 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |