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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void StopSpeaking() override; | 91 void StopSpeaking() override; |
92 #endif // defined(OS_MACOSX) | 92 #endif // defined(OS_MACOSX) |
93 void OnSwapCompositorFrame(uint32_t output_surface_id, | 93 void OnSwapCompositorFrame(uint32_t output_surface_id, |
94 scoped_ptr<cc::CompositorFrame> frame) override; | 94 scoped_ptr<cc::CompositorFrame> frame) override; |
95 void ClearCompositorFrame() override {} | 95 void ClearCompositorFrame() override {} |
96 | 96 |
97 // RenderWidgetHostViewBase implementation. | 97 // RenderWidgetHostViewBase implementation. |
98 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 98 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
99 const gfx::Rect& bounds) override {} | 99 const gfx::Rect& bounds) override {} |
100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 100 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
101 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override { | |
102 } | |
103 void Focus() override {} | 101 void Focus() override {} |
104 void SetIsLoading(bool is_loading) override {} | 102 void SetIsLoading(bool is_loading) override {} |
105 void UpdateCursor(const WebCursor& cursor) override {} | 103 void UpdateCursor(const WebCursor& cursor) override {} |
106 void TextInputStateChanged( | 104 void TextInputStateChanged( |
107 const ViewHostMsg_TextInputState_Params& params) override {} | 105 const ViewHostMsg_TextInputState_Params& params) override {} |
108 void ImeCancelComposition() override {} | 106 void ImeCancelComposition() override {} |
109 void ImeCompositionRangeChanged( | 107 void ImeCompositionRangeChanged( |
110 const gfx::Range& range, | 108 const gfx::Range& range, |
111 const std::vector<gfx::Rect>& character_bounds) override {} | 109 const std::vector<gfx::Rect>& character_bounds) override {} |
112 void RenderProcessGone(base::TerminationStatus status, | 110 void RenderProcessGone(base::TerminationStatus status, |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 private: | 318 private: |
321 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 319 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
322 ScopedSetSupportedScaleFactors; | 320 ScopedSetSupportedScaleFactors; |
323 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 321 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
325 }; | 323 }; |
326 | 324 |
327 } // namespace content | 325 } // namespace content |
328 | 326 |
329 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 327 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |