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