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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual void TextInputStateChanged( | 102 virtual void TextInputStateChanged( |
103 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} | 103 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} |
104 virtual void ImeCancelComposition() OVERRIDE {} | 104 virtual void ImeCancelComposition() OVERRIDE {} |
105 #if defined(OS_MACOSX) || defined(USE_AURA) | 105 #if defined(OS_MACOSX) || defined(USE_AURA) |
106 virtual void ImeCompositionRangeChanged( | 106 virtual void ImeCompositionRangeChanged( |
107 const gfx::Range& range, | 107 const gfx::Range& range, |
108 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} | 108 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} |
109 #endif | 109 #endif |
110 virtual void RenderProcessGone(base::TerminationStatus status, | 110 virtual void RenderProcessGone(base::TerminationStatus status, |
111 int error_code) OVERRIDE; | 111 int error_code) OVERRIDE; |
112 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | |
113 virtual void Destroy() OVERRIDE; | 112 virtual void Destroy() OVERRIDE; |
114 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} | 113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} |
115 virtual void SelectionBoundsChanged( | 114 virtual void SelectionBoundsChanged( |
116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} | 115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} |
117 virtual void ScrollOffsetChanged() OVERRIDE {} | 116 virtual void ScrollOffsetChanged() OVERRIDE {} |
118 virtual void CopyFromCompositingSurface( | 117 virtual void CopyFromCompositingSurface( |
119 const gfx::Rect& src_subrect, | 118 const gfx::Rect& src_subrect, |
120 const gfx::Size& dst_size, | 119 const gfx::Size& dst_size, |
121 const base::Callback<void(bool, const SkBitmap&)>& callback, | 120 const base::Callback<void(bool, const SkBitmap&)>& callback, |
122 const SkBitmap::Config config) OVERRIDE; | 121 const SkBitmap::Config config) OVERRIDE; |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 private: | 373 private: |
375 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
376 ScopedSetSupportedScaleFactors; | 375 ScopedSetSupportedScaleFactors; |
377 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
379 }; | 378 }; |
380 | 379 |
381 } // namespace content | 380 } // namespace content |
382 | 381 |
383 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |