| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class TestRenderWidgetHostView : public RenderWidgetHostViewBase { | 53 class TestRenderWidgetHostView : public RenderWidgetHostViewBase { |
| 54 public: | 54 public: |
| 55 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh); | 55 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh); |
| 56 virtual ~TestRenderWidgetHostView(); | 56 virtual ~TestRenderWidgetHostView(); |
| 57 | 57 |
| 58 // RenderWidgetHostView implementation. | 58 // RenderWidgetHostView implementation. |
| 59 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} | 59 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} |
| 60 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 60 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 61 virtual void SetSize(const gfx::Size& size) OVERRIDE {} | 61 virtual void SetSize(const gfx::Size& size) OVERRIDE {} |
| 62 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} | 62 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} |
| 63 virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE; |
| 63 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 64 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 64 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 65 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 65 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 66 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 66 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; | 67 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; |
| 67 virtual bool HasFocus() const OVERRIDE; | 68 virtual bool HasFocus() const OVERRIDE; |
| 68 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 69 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 69 virtual void Show() OVERRIDE; | 70 virtual void Show() OVERRIDE; |
| 70 virtual void Hide() OVERRIDE; | 71 virtual void Hide() OVERRIDE; |
| 71 virtual bool IsShowing() OVERRIDE; | 72 virtual bool IsShowing() OVERRIDE; |
| 72 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 73 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 private: | 399 private: |
| 399 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 400 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 400 ScopedSetSupportedScaleFactors; | 401 ScopedSetSupportedScaleFactors; |
| 401 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 402 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 402 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 403 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 403 }; | 404 }; |
| 404 | 405 |
| 405 } // namespace content | 406 } // namespace content |
| 406 | 407 |
| 407 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 408 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |