| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 #endif | 157 #endif |
| 158 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} | 158 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
| 159 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 159 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 160 virtual void SetHasHorizontalScrollbar( | 160 virtual void SetHasHorizontalScrollbar( |
| 161 bool has_horizontal_scrollbar) OVERRIDE { } | 161 bool has_horizontal_scrollbar) OVERRIDE { } |
| 162 virtual void SetScrollOffsetPinning( | 162 virtual void SetScrollOffsetPinning( |
| 163 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 163 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
| 164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 165 virtual bool LockMouse() OVERRIDE; | 165 virtual bool LockMouse() OVERRIDE; |
| 166 virtual void UnlockMouse() OVERRIDE; | 166 virtual void UnlockMouse() OVERRIDE; |
| 167 #if defined(OS_WIN) && defined(USE_AURA) | 167 #if defined(OS_WIN) |
| 168 virtual void SetParentNativeViewAccessible( | 168 virtual void SetParentNativeViewAccessible( |
| 169 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 169 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
| 170 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 170 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
| 171 #endif | 171 #endif |
| 172 | 172 |
| 173 bool is_showing() const { return is_showing_; } | 173 bool is_showing() const { return is_showing_; } |
| 174 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } | 174 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } |
| 175 | 175 |
| 176 protected: | 176 protected: |
| 177 RenderWidgetHostImpl* rwh_; | 177 RenderWidgetHostImpl* rwh_; |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 private: | 384 private: |
| 385 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 385 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 386 ScopedSetSupportedScaleFactors; | 386 ScopedSetSupportedScaleFactors; |
| 387 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 387 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 388 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 388 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 389 }; | 389 }; |
| 390 | 390 |
| 391 } // namespace content | 391 } // namespace content |
| 392 | 392 |
| 393 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 393 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |