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

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

Issue 1365563002: Make channel preemption not require view contexts for hookup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wakeup_gpu
Patch Set: rebase Created 5 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/renderer/render_widget.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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 bool PostProcessEventForPluginIme( 128 bool PostProcessEventForPluginIme(
129 const NativeWebKeyboardEvent& event) override; 129 const NativeWebKeyboardEvent& event) override;
130 #endif 130 #endif
131 #if defined(OS_ANDROID) 131 #if defined(OS_ANDROID)
132 void LockCompositingSurface() override {} 132 void LockCompositingSurface() override {}
133 void UnlockCompositingSurface() override {} 133 void UnlockCompositingSurface() override {}
134 #endif 134 #endif
135 void GetScreenInfo(blink::WebScreenInfo* results) override {} 135 void GetScreenInfo(blink::WebScreenInfo* results) override {}
136 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 136 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
137 gfx::Rect GetBoundsInRootWindow() override; 137 gfx::Rect GetBoundsInRootWindow() override;
138 gfx::GLSurfaceHandle GetCompositingSurface() override;
139 bool LockMouse() override; 138 bool LockMouse() override;
140 void UnlockMouse() override; 139 void UnlockMouse() override;
141 #if defined(OS_WIN) 140 #if defined(OS_WIN)
142 void SetParentNativeViewAccessible( 141 void SetParentNativeViewAccessible(
143 gfx::NativeViewAccessible accessible_parent) override; 142 gfx::NativeViewAccessible accessible_parent) override;
144 gfx::NativeViewId GetParentForWindowlessPlugin() const override; 143 gfx::NativeViewId GetParentForWindowlessPlugin() const override;
145 #endif 144 #endif
146 145
147 bool is_showing() const { return is_showing_; } 146 bool is_showing() const { return is_showing_; }
148 bool is_occluded() const { return is_occluded_; } 147 bool is_occluded() const { return is_occluded_; }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 private: 323 private:
325 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 324 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
326 ScopedSetSupportedScaleFactors; 325 ScopedSetSupportedScaleFactors;
327 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 326 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
328 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 327 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
329 }; 328 };
330 329
331 } // namespace content 330 } // namespace content
332 331
333 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 332 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698