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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 void LockCompositingSurface() override {} | 131 void LockCompositingSurface() override {} |
132 void UnlockCompositingSurface() override {} | 132 void UnlockCompositingSurface() override {} |
133 void GetScreenInfo(blink::WebScreenInfo* results) override {} | 133 void GetScreenInfo(blink::WebScreenInfo* results) override {} |
134 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 134 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
135 gfx::Rect GetBoundsInRootWindow() override; | 135 gfx::Rect GetBoundsInRootWindow() override; |
136 bool LockMouse() override; | 136 bool LockMouse() override; |
137 void UnlockMouse() override; | 137 void UnlockMouse() override; |
138 #if defined(OS_WIN) | 138 #if defined(OS_WIN) |
139 void SetParentNativeViewAccessible( | 139 void SetParentNativeViewAccessible( |
140 gfx::NativeViewAccessible accessible_parent) override; | 140 gfx::NativeViewAccessible accessible_parent) override; |
141 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | |
142 #endif | 141 #endif |
143 | 142 |
144 bool is_showing() const { return is_showing_; } | 143 bool is_showing() const { return is_showing_; } |
145 bool is_occluded() const { return is_occluded_; } | 144 bool is_occluded() const { return is_occluded_; } |
146 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } | 145 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } |
147 | 146 |
148 protected: | 147 protected: |
149 RenderWidgetHostImpl* rwh_; | 148 RenderWidgetHostImpl* rwh_; |
150 | 149 |
151 private: | 150 private: |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 private: | 317 private: |
319 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 318 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
320 ScopedSetSupportedScaleFactors; | 319 ScopedSetSupportedScaleFactors; |
321 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 320 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
323 }; | 322 }; |
324 | 323 |
325 } // namespace content | 324 } // namespace content |
326 | 325 |
327 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 326 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |