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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 const gfx::Vector2d& scroll_delta, | 115 const gfx::Vector2d& scroll_delta, |
116 const std::vector<gfx::Rect>& rects, | 116 const std::vector<gfx::Rect>& rects, |
117 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE {} | 117 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE {} |
118 virtual void RenderProcessGone(base::TerminationStatus status, | 118 virtual void RenderProcessGone(base::TerminationStatus status, |
119 int error_code) OVERRIDE; | 119 int error_code) OVERRIDE; |
120 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | 120 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } |
121 virtual void Destroy() OVERRIDE; | 121 virtual void Destroy() OVERRIDE; |
122 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} | 122 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} |
123 virtual void SelectionBoundsChanged( | 123 virtual void SelectionBoundsChanged( |
124 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} | 124 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} |
| 125 #if defined(OS_ANDROID) |
| 126 virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE {} |
| 127 #endif |
125 virtual void ScrollOffsetChanged() OVERRIDE {} | 128 virtual void ScrollOffsetChanged() OVERRIDE {} |
126 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 129 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
127 virtual void CopyFromCompositingSurface( | 130 virtual void CopyFromCompositingSurface( |
128 const gfx::Rect& src_subrect, | 131 const gfx::Rect& src_subrect, |
129 const gfx::Size& dst_size, | 132 const gfx::Size& dst_size, |
130 const base::Callback<void(bool, const SkBitmap&)>& callback, | 133 const base::Callback<void(bool, const SkBitmap&)>& callback, |
131 const SkBitmap::Config config) OVERRIDE; | 134 const SkBitmap::Config config) OVERRIDE; |
132 virtual void CopyFromCompositingSurfaceToVideoFrame( | 135 virtual void CopyFromCompositingSurfaceToVideoFrame( |
133 const gfx::Rect& src_subrect, | 136 const gfx::Rect& src_subrect, |
134 const scoped_refptr<media::VideoFrame>& target, | 137 const scoped_refptr<media::VideoFrame>& target, |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 private: | 386 private: |
384 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 387 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
385 ScopedSetSupportedScaleFactors; | 388 ScopedSetSupportedScaleFactors; |
386 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 389 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
387 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 390 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
388 }; | 391 }; |
389 | 392 |
390 } // namespace content | 393 } // namespace content |
391 | 394 |
392 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 395 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |