| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 bool SupportsSpeech() const override; | 80 bool SupportsSpeech() const override; |
| 81 void SpeakSelection() override; | 81 void SpeakSelection() override; |
| 82 bool IsSpeaking() const override; | 82 bool IsSpeaking() const override; |
| 83 void StopSpeaking() override; | 83 void StopSpeaking() override; |
| 84 #endif // defined(OS_MACOSX) | 84 #endif // defined(OS_MACOSX) |
| 85 void OnSwapCompositorFrame(uint32 output_surface_id, | 85 void OnSwapCompositorFrame(uint32 output_surface_id, |
| 86 scoped_ptr<cc::CompositorFrame> frame) override; | 86 scoped_ptr<cc::CompositorFrame> frame) override; |
| 87 | 87 |
| 88 // RenderWidgetHostViewBase implementation. | 88 // RenderWidgetHostViewBase implementation. |
| 89 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 89 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 90 const gfx::Rect& pos) override {} | 90 const gfx::Rect& bounds) override {} |
| 91 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 91 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 92 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { | 92 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { |
| 93 } | 93 } |
| 94 void Focus() override {} | 94 void Focus() override {} |
| 95 void Blur() override {} | 95 void Blur() override {} |
| 96 void SetIsLoading(bool is_loading) override {} | 96 void SetIsLoading(bool is_loading) override {} |
| 97 void UpdateCursor(const WebCursor& cursor) override {} | 97 void UpdateCursor(const WebCursor& cursor) override {} |
| 98 void TextInputTypeChanged(ui::TextInputType type, | 98 void TextInputTypeChanged(ui::TextInputType type, |
| 99 ui::TextInputMode input_mode, | 99 ui::TextInputMode input_mode, |
| 100 bool can_compose_inline, | 100 bool can_compose_inline, |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 private: | 319 private: |
| 320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 321 ScopedSetSupportedScaleFactors; | 321 ScopedSetSupportedScaleFactors; |
| 322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 324 }; | 324 }; |
| 325 | 325 |
| 326 } // namespace content | 326 } // namespace content |
| 327 | 327 |
| 328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |