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_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void Focus() OVERRIDE {} | 97 virtual void Focus() OVERRIDE {} |
98 virtual void Blur() OVERRIDE {} | 98 virtual void Blur() OVERRIDE {} |
99 virtual void SetIsLoading(bool is_loading) OVERRIDE {} | 99 virtual void SetIsLoading(bool is_loading) OVERRIDE {} |
100 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} | 100 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} |
101 virtual void TextInputTypeChanged(ui::TextInputType type, | 101 virtual void TextInputTypeChanged(ui::TextInputType type, |
102 ui::TextInputMode input_mode, | 102 ui::TextInputMode input_mode, |
103 bool can_compose_inline) OVERRIDE {} | 103 bool can_compose_inline) OVERRIDE {} |
104 virtual void ImeCancelComposition() OVERRIDE {} | 104 virtual void ImeCancelComposition() OVERRIDE {} |
105 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 105 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
106 virtual void ImeCompositionRangeChanged( | 106 virtual void ImeCompositionRangeChanged( |
107 const ui::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 DidUpdateBackingStore( | 110 virtual void DidUpdateBackingStore( |
111 const gfx::Rect& scroll_rect, | 111 const gfx::Rect& scroll_rect, |
112 const gfx::Vector2d& scroll_delta, | 112 const gfx::Vector2d& scroll_delta, |
113 const std::vector<gfx::Rect>& rects, | 113 const std::vector<gfx::Rect>& rects, |
114 const ui::LatencyInfo& latency_info) OVERRIDE {} | 114 const ui::LatencyInfo& latency_info) OVERRIDE {} |
115 virtual void RenderProcessGone(base::TerminationStatus status, | 115 virtual void RenderProcessGone(base::TerminationStatus status, |
116 int error_code) OVERRIDE; | 116 int error_code) OVERRIDE; |
117 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | 117 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 TestRenderViewHost* active_test_rvh(); | 369 TestRenderViewHost* active_test_rvh(); |
370 TestWebContents* contents(); | 370 TestWebContents* contents(); |
371 | 371 |
372 private: | 372 private: |
373 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 373 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
374 }; | 374 }; |
375 | 375 |
376 } // namespace content | 376 } // namespace content |
377 | 377 |
378 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 378 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |