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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |