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; |
141 #endif | 142 #endif |
142 | 143 |
143 bool is_showing() const { return is_showing_; } | 144 bool is_showing() const { return is_showing_; } |
144 bool is_occluded() const { return is_occluded_; } | 145 bool is_occluded() const { return is_occluded_; } |
145 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } | 146 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } |
146 | 147 |
147 protected: | 148 protected: |
148 RenderWidgetHostImpl* rwh_; | 149 RenderWidgetHostImpl* rwh_; |
149 | 150 |
150 private: | 151 private: |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 private: | 318 private: |
318 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 319 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
319 ScopedSetSupportedScaleFactors; | 320 ScopedSetSupportedScaleFactors; |
320 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 321 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
322 }; | 323 }; |
323 | 324 |
324 } // namespace content | 325 } // namespace content |
325 | 326 |
326 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 327 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |