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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 bool can_compose_inline) OVERRIDE {} | 101 bool can_compose_inline) OVERRIDE {} |
102 virtual void ImeCancelComposition() OVERRIDE {} | 102 virtual void ImeCancelComposition() OVERRIDE {} |
103 virtual void ImeCompositionRangeChanged( | 103 virtual void ImeCompositionRangeChanged( |
104 const ui::Range& range, | 104 const ui::Range& range, |
105 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} | 105 const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} |
106 virtual void DidUpdateBackingStore( | 106 virtual void DidUpdateBackingStore( |
107 const gfx::Rect& scroll_rect, | 107 const gfx::Rect& scroll_rect, |
108 const gfx::Vector2d& scroll_delta, | 108 const gfx::Vector2d& scroll_delta, |
109 const std::vector<gfx::Rect>& rects, | 109 const std::vector<gfx::Rect>& rects, |
110 const ui::LatencyInfo& latency_info) OVERRIDE {} | 110 const ui::LatencyInfo& latency_info) OVERRIDE {} |
111 virtual void RenderViewGone(base::TerminationStatus status, | 111 virtual void RenderProcessGone(base::TerminationStatus status, |
112 int error_code) OVERRIDE; | 112 int error_code) OVERRIDE; |
113 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | 113 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } |
114 virtual void Destroy() OVERRIDE; | 114 virtual void Destroy() OVERRIDE; |
115 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} | 115 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} |
116 virtual void SelectionBoundsChanged( | 116 virtual void SelectionBoundsChanged( |
117 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} | 117 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} |
118 virtual void ScrollOffsetChanged() OVERRIDE {} | 118 virtual void ScrollOffsetChanged() OVERRIDE {} |
119 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 119 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
120 virtual void CopyFromCompositingSurface( | 120 virtual void CopyFromCompositingSurface( |
121 const gfx::Rect& src_subrect, | 121 const gfx::Rect& src_subrect, |
122 const gfx::Size& dst_size, | 122 const gfx::Size& dst_size, |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 TestRenderViewHost* active_test_rvh(); | 364 TestRenderViewHost* active_test_rvh(); |
365 TestWebContents* contents(); | 365 TestWebContents* contents(); |
366 | 366 |
367 private: | 367 private: |
368 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 368 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
369 }; | 369 }; |
370 | 370 |
371 } // namespace content | 371 } // namespace content |
372 | 372 |
373 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 373 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |