| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 void SetBounds(const gfx::Rect& rect) override {} | 62 void SetBounds(const gfx::Rect& rect) override {} |
| 63 gfx::Vector2dF GetLastScrollOffset() const override; | 63 gfx::Vector2dF GetLastScrollOffset() const override; |
| 64 gfx::NativeView GetNativeView() const override; | 64 gfx::NativeView GetNativeView() const override; |
| 65 gfx::NativeViewId GetNativeViewId() const override; | 65 gfx::NativeViewId GetNativeViewId() const override; |
| 66 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 66 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
| 67 ui::TextInputClient* GetTextInputClient() override; | 67 ui::TextInputClient* GetTextInputClient() override; |
| 68 bool HasFocus() const override; | 68 bool HasFocus() const override; |
| 69 bool IsSurfaceAvailableForCopy() const override; | 69 bool IsSurfaceAvailableForCopy() const override; |
| 70 void Show() override; | 70 void Show() override; |
| 71 void Hide() override; | 71 void Hide() override; |
| 72 void Hide(bool content_visible) override {} |
| 72 bool IsShowing() override; | 73 bool IsShowing() override; |
| 73 void WasUnOccluded() override; | 74 void WasUnOccluded() override; |
| 74 void WasOccluded() override; | 75 void WasOccluded() override; |
| 75 gfx::Rect GetViewBounds() const override; | 76 gfx::Rect GetViewBounds() const override; |
| 76 #if defined(OS_MACOSX) | 77 #if defined(OS_MACOSX) |
| 77 void SetActive(bool active) override; | 78 void SetActive(bool active) override; |
| 78 void SetWindowVisibility(bool visible) override {} | 79 void SetWindowVisibility(bool visible) override {} |
| 79 void WindowFrameChanged() override {} | 80 void WindowFrameChanged() override {} |
| 80 void ShowDefinitionForSelection() override {} | 81 void ShowDefinitionForSelection() override {} |
| 81 bool SupportsSpeech() const override; | 82 bool SupportsSpeech() const override; |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 private: | 322 private: |
| 322 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 323 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 323 ScopedSetSupportedScaleFactors; | 324 ScopedSetSupportedScaleFactors; |
| 324 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 325 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 325 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 326 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 326 }; | 327 }; |
| 327 | 328 |
| 328 } // namespace content | 329 } // namespace content |
| 329 | 330 |
| 330 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 331 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |