| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 virtual void UnlockCompositingSurface() OVERRIDE {} | 147 virtual void UnlockCompositingSurface() OVERRIDE {} |
| 148 #endif | 148 #endif |
| 149 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} | 149 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
| 150 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 150 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 151 virtual void SetScrollOffsetPinning( | 151 virtual void SetScrollOffsetPinning( |
| 152 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 152 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
| 153 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 153 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 154 virtual bool LockMouse() OVERRIDE; | 154 virtual bool LockMouse() OVERRIDE; |
| 155 virtual void UnlockMouse() OVERRIDE; | 155 virtual void UnlockMouse() OVERRIDE; |
| 156 #if defined(OS_WIN) | 156 #if defined(OS_WIN) |
| 157 virtual void SetParentNativeViewAccessible( | 157 virtual HWND GetAccessibleParentHWND() const OVERRIDE; |
| 158 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 158 virtual IAccessible* GetParentIAccessible() const OVERRIDE; |
| 159 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 159 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
| 160 #endif | 160 #endif |
| 161 | 161 |
| 162 bool is_showing() const { return is_showing_; } | 162 bool is_showing() const { return is_showing_; } |
| 163 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } | 163 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } |
| 164 | 164 |
| 165 protected: | 165 protected: |
| 166 RenderWidgetHostImpl* rwh_; | 166 RenderWidgetHostImpl* rwh_; |
| 167 | 167 |
| 168 private: | 168 private: |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 private: | 376 private: |
| 377 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 377 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 378 ScopedSetSupportedScaleFactors; | 378 ScopedSetSupportedScaleFactors; |
| 379 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 379 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 381 }; | 381 }; |
| 382 | 382 |
| 383 } // namespace content | 383 } // namespace content |
| 384 | 384 |
| 385 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 385 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |