| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 std::unique_ptr<cc::CompositorFrame> frame) override; | 93 std::unique_ptr<cc::CompositorFrame> frame) override; |
| 94 void ClearCompositorFrame() override {} | 94 void ClearCompositorFrame() override {} |
| 95 | 95 |
| 96 // RenderWidgetHostViewBase implementation. | 96 // RenderWidgetHostViewBase implementation. |
| 97 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 97 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 98 const gfx::Rect& bounds) override {} | 98 const gfx::Rect& bounds) override {} |
| 99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 100 void Focus() override {} | 100 void Focus() override {} |
| 101 void SetIsLoading(bool is_loading) override {} | 101 void SetIsLoading(bool is_loading) override {} |
| 102 void UpdateCursor(const WebCursor& cursor) override {} | 102 void UpdateCursor(const WebCursor& cursor) override {} |
| 103 void TextInputStateChanged(const TextInputState& params) override {} | |
| 104 void ImeCancelComposition() override {} | 103 void ImeCancelComposition() override {} |
| 105 void ImeCompositionRangeChanged( | 104 void ImeCompositionRangeChanged( |
| 106 const gfx::Range& range, | 105 const gfx::Range& range, |
| 107 const std::vector<gfx::Rect>& character_bounds) override {} | 106 const std::vector<gfx::Rect>& character_bounds) override {} |
| 108 void RenderProcessGone(base::TerminationStatus status, | 107 void RenderProcessGone(base::TerminationStatus status, |
| 109 int error_code) override; | 108 int error_code) override; |
| 110 void Destroy() override; | 109 void Destroy() override; |
| 111 void SetTooltipText(const base::string16& tooltip_text) override {} | 110 void SetTooltipText(const base::string16& tooltip_text) override {} |
| 112 void SelectionBoundsChanged( | 111 void SelectionBoundsChanged( |
| 113 const ViewHostMsg_SelectionBounds_Params& params) override {} | 112 const ViewHostMsg_SelectionBounds_Params& params) override {} |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 private: | 308 private: |
| 310 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 309 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 311 ScopedSetSupportedScaleFactors; | 310 ScopedSetSupportedScaleFactors; |
| 312 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 311 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 313 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 312 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 314 }; | 313 }; |
| 315 | 314 |
| 316 } // namespace content | 315 } // namespace content |
| 317 | 316 |
| 318 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 317 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |