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

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

Issue 1952003002: Mac: Plumb AcceleratedWidgetMac through RWHVMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move out of base Created 4 years, 7 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/public/browser/render_widget_host_view.h ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ui::TextInputClient* GetTextInputClient() override; 73 ui::TextInputClient* GetTextInputClient() override;
74 bool HasFocus() const override; 74 bool HasFocus() const override;
75 bool IsSurfaceAvailableForCopy() const override; 75 bool IsSurfaceAvailableForCopy() const override;
76 void Show() override; 76 void Show() override;
77 void Hide() override; 77 void Hide() override;
78 bool IsShowing() override; 78 bool IsShowing() override;
79 void WasUnOccluded() override; 79 void WasUnOccluded() override;
80 void WasOccluded() override; 80 void WasOccluded() override;
81 gfx::Rect GetViewBounds() const override; 81 gfx::Rect GetViewBounds() const override;
82 #if defined(OS_MACOSX) 82 #if defined(OS_MACOSX)
83 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
83 void SetActive(bool active) override; 84 void SetActive(bool active) override;
84 void ShowDefinitionForSelection() override {} 85 void ShowDefinitionForSelection() override {}
85 bool SupportsSpeech() const override; 86 bool SupportsSpeech() const override;
86 void SpeakSelection() override; 87 void SpeakSelection() override;
87 bool IsSpeaking() const override; 88 bool IsSpeaking() const override;
88 void StopSpeaking() override; 89 void StopSpeaking() override;
89 #endif // defined(OS_MACOSX) 90 #endif // defined(OS_MACOSX)
90 void OnSwapCompositorFrame( 91 void OnSwapCompositorFrame(
91 uint32_t output_surface_id, 92 uint32_t output_surface_id,
92 std::unique_ptr<cc::CompositorFrame> frame) override; 93 std::unique_ptr<cc::CompositorFrame> frame) override;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 private: 307 private:
307 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> 308 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors>
308 ScopedSetSupportedScaleFactors; 309 ScopedSetSupportedScaleFactors;
309 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 310 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
311 }; 312 };
312 313
313 } // namespace content 314 } // namespace content
314 315
315 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 316 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698