| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ui::TextInputClient* GetTextInputClient() override; | 73 ui::TextInputClient* GetTextInputClient() override; |
| 74 bool HasFocus() const override; | 74 bool HasFocus() const override; |
| 75 bool IsSurfaceAvailableForCopy() const override; | 75 bool IsSurfaceAvailableForCopy() const override; |
| 76 void Show() override; | 76 void Show() override; |
| 77 void Hide() override; | 77 void Hide() override; |
| 78 bool IsShowing() override; | 78 bool IsShowing() override; |
| 79 void WasUnOccluded() override; | 79 void WasUnOccluded() override; |
| 80 void WasOccluded() override; | 80 void WasOccluded() override; |
| 81 gfx::Rect GetViewBounds() const override; | 81 gfx::Rect GetViewBounds() const override; |
| 82 #if defined(OS_MACOSX) | 82 #if defined(OS_MACOSX) |
| 83 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 83 void SetActive(bool active) override; | 84 void SetActive(bool active) override; |
| 84 void ShowDefinitionForSelection() override {} | 85 void ShowDefinitionForSelection() override {} |
| 85 bool SupportsSpeech() const override; | 86 bool SupportsSpeech() const override; |
| 86 void SpeakSelection() override; | 87 void SpeakSelection() override; |
| 87 bool IsSpeaking() const override; | 88 bool IsSpeaking() const override; |
| 88 void StopSpeaking() override; | 89 void StopSpeaking() override; |
| 89 #endif // defined(OS_MACOSX) | 90 #endif // defined(OS_MACOSX) |
| 90 void OnSwapCompositorFrame( | 91 void OnSwapCompositorFrame( |
| 91 uint32_t output_surface_id, | 92 uint32_t output_surface_id, |
| 92 std::unique_ptr<cc::CompositorFrame> frame) override; | 93 std::unique_ptr<cc::CompositorFrame> frame) override; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 private: | 307 private: |
| 307 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 308 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 308 ScopedSetSupportedScaleFactors; | 309 ScopedSetSupportedScaleFactors; |
| 309 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 310 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 311 }; | 312 }; |
| 312 | 313 |
| 313 } // namespace content | 314 } // namespace content |
| 314 | 315 |
| 315 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 316 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |