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