Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: content/test/test_render_view_host.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 gfx::Rect GetViewBounds() const override; 82 gfx::Rect GetViewBounds() const override;
83 #if defined(OS_MACOSX) 83 #if defined(OS_MACOSX)
84 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 84 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
85 void SetActive(bool active) override; 85 void SetActive(bool active) override;
86 void ShowDefinitionForSelection() override {} 86 void ShowDefinitionForSelection() override {}
87 bool SupportsSpeech() const override; 87 bool SupportsSpeech() const override;
88 void SpeakSelection() override; 88 void SpeakSelection() override;
89 bool IsSpeaking() const override; 89 bool IsSpeaking() const override;
90 void StopSpeaking() override; 90 void StopSpeaking() override;
91 #endif // defined(OS_MACOSX) 91 #endif // defined(OS_MACOSX)
92 void OnSwapCompositorFrame(uint32_t output_surface_id, 92 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
93 cc::CompositorFrame frame) override; 93 cc::CompositorFrame frame) override;
94 void ClearCompositorFrame() override {} 94 void ClearCompositorFrame() override {}
95 void SetNeedsBeginFrames(bool needs_begin_frames) override {} 95 void SetNeedsBeginFrames(bool needs_begin_frames) override {}
96 96
97 // RenderWidgetHostViewBase implementation. 97 // RenderWidgetHostViewBase implementation.
98 void InitAsPopup(RenderWidgetHostView* parent_host_view, 98 void InitAsPopup(RenderWidgetHostView* parent_host_view,
99 const gfx::Rect& bounds) override {} 99 const gfx::Rect& bounds) override {}
100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} 100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {}
101 void Focus() override {} 101 void Focus() override {}
102 void SetIsLoading(bool is_loading) override {} 102 void SetIsLoading(bool is_loading) override {}
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 private: 301 private:
302 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 302 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
303 ScopedSetSupportedScaleFactors; 303 ScopedSetSupportedScaleFactors;
304 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 304 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
305 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 305 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
306 }; 306 };
307 307
308 } // namespace content 308 } // namespace content
309 309
310 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 310 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698