| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void SetWindowVisibility(bool visible) override {} | 83 void SetWindowVisibility(bool visible) override {} |
| 84 void WindowFrameChanged() override {} | 84 void WindowFrameChanged() override {} |
| 85 void ShowDefinitionForSelection() override {} | 85 void ShowDefinitionForSelection() override {} |
| 86 bool SupportsSpeech() const override; | 86 bool SupportsSpeech() const override; |
| 87 void SpeakSelection() override; | 87 void SpeakSelection() override; |
| 88 bool IsSpeaking() const override; | 88 bool IsSpeaking() const override; |
| 89 void StopSpeaking() override; | 89 void StopSpeaking() override; |
| 90 #endif // defined(OS_MACOSX) | 90 #endif // defined(OS_MACOSX) |
| 91 void OnSwapCompositorFrame(uint32 output_surface_id, | 91 void OnSwapCompositorFrame(uint32 output_surface_id, |
| 92 scoped_ptr<cc::CompositorFrame> frame) override; | 92 scoped_ptr<cc::CompositorFrame> frame) override; |
| 93 void ClearCompositorFrame() override {} |
| 93 | 94 |
| 94 // RenderWidgetHostViewBase implementation. | 95 // RenderWidgetHostViewBase implementation. |
| 95 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 96 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 96 const gfx::Rect& bounds) override {} | 97 const gfx::Rect& bounds) override {} |
| 97 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 98 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 98 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { | 99 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { |
| 99 } | 100 } |
| 100 void Focus() override {} | 101 void Focus() override {} |
| 101 void SetIsLoading(bool is_loading) override {} | 102 void SetIsLoading(bool is_loading) override {} |
| 102 void UpdateCursor(const WebCursor& cursor) override {} | 103 void UpdateCursor(const WebCursor& cursor) override {} |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 private: | 324 private: |
| 324 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 325 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 325 ScopedSetSupportedScaleFactors; | 326 ScopedSetSupportedScaleFactors; |
| 326 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 327 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 327 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 328 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 328 }; | 329 }; |
| 329 | 330 |
| 330 } // namespace content | 331 } // namespace content |
| 331 | 332 |
| 332 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 333 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |