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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} | 99 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} |
100 virtual void TextInputTypeChanged(ui::TextInputType type, | 100 virtual void TextInputTypeChanged(ui::TextInputType type, |
101 ui::TextInputMode input_mode, | 101 ui::TextInputMode input_mode, |
102 bool can_compose_inline) OVERRIDE {} | 102 bool can_compose_inline) OVERRIDE {} |
103 virtual void ImeCancelComposition() OVERRIDE {} | 103 virtual void ImeCancelComposition() OVERRIDE {} |
104 #if defined(OS_MACOSX) || defined(USE_AURA) | 104 #if defined(OS_MACOSX) || defined(USE_AURA) |
105 virtual void ImeCompositionRangeChanged( | 105 virtual void ImeCompositionRangeChanged( |
106 const gfx::Range& range, | 106 const gfx::Range& range, |
107 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} | 107 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} |
108 #endif | 108 #endif |
109 virtual void DidUpdateBackingStore( | |
110 const gfx::Rect& scroll_rect, | |
111 const gfx::Vector2d& scroll_delta, | |
112 const std::vector<gfx::Rect>& rects, | |
113 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE {} | |
114 virtual void RenderProcessGone(base::TerminationStatus status, | 109 virtual void RenderProcessGone(base::TerminationStatus status, |
115 int error_code) OVERRIDE; | 110 int error_code) OVERRIDE; |
116 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | 111 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } |
117 virtual void Destroy() OVERRIDE; | 112 virtual void Destroy() OVERRIDE; |
118 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} | 113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} |
119 virtual void SelectionBoundsChanged( | 114 virtual void SelectionBoundsChanged( |
120 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} | 115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} |
121 #if defined(OS_ANDROID) | 116 #if defined(OS_ANDROID) |
122 virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE {} | 117 virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE {} |
123 #endif | 118 #endif |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 private: | 377 private: |
383 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 378 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
384 ScopedSetSupportedScaleFactors; | 379 ScopedSetSupportedScaleFactors; |
385 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 380 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
386 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 381 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
387 }; | 382 }; |
388 | 383 |
389 } // namespace content | 384 } // namespace content |
390 | 385 |
391 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 386 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |