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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 virtual void CopyFromCompositingSurface( | 116 virtual void CopyFromCompositingSurface( |
117 const gfx::Rect& src_subrect, | 117 const gfx::Rect& src_subrect, |
118 const gfx::Size& dst_size, | 118 const gfx::Size& dst_size, |
119 CopyFromCompositingSurfaceCallback& callback, | 119 CopyFromCompositingSurfaceCallback& callback, |
120 const SkColorType color_type) OVERRIDE; | 120 const SkColorType color_type) OVERRIDE; |
121 virtual void CopyFromCompositingSurfaceToVideoFrame( | 121 virtual void CopyFromCompositingSurfaceToVideoFrame( |
122 const gfx::Rect& src_subrect, | 122 const gfx::Rect& src_subrect, |
123 const scoped_refptr<media::VideoFrame>& target, | 123 const scoped_refptr<media::VideoFrame>& target, |
124 const base::Callback<void(bool)>& callback) OVERRIDE; | 124 const base::Callback<void(bool)>& callback) OVERRIDE; |
125 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 125 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
126 virtual void AcceleratedSurfaceInitialized(int host_id, | |
127 int route_id) OVERRIDE; | |
128 virtual void AcceleratedSurfaceBuffersSwapped( | |
129 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | |
130 int gpu_host_id) OVERRIDE; | |
131 virtual void AcceleratedSurfacePostSubBuffer( | |
132 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | |
133 int gpu_host_id) OVERRIDE; | |
134 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | |
135 virtual void AcceleratedSurfaceRelease() OVERRIDE {} | |
136 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 126 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
137 #if defined(OS_MACOSX) | 127 #if defined(OS_MACOSX) |
138 virtual bool PostProcessEventForPluginIme( | 128 virtual bool PostProcessEventForPluginIme( |
139 const NativeWebKeyboardEvent& event) OVERRIDE; | 129 const NativeWebKeyboardEvent& event) OVERRIDE; |
140 #endif | 130 #endif |
141 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) || defined(USE_AURA) | 131 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) || defined(USE_AURA) |
142 virtual void ShowDisambiguationPopup( | 132 virtual void ShowDisambiguationPopup( |
143 const gfx::Rect& rect_pixels, | 133 const gfx::Rect& rect_pixels, |
144 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 134 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
145 #endif | 135 #endif |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 private: | 394 private: |
405 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 395 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
406 ScopedSetSupportedScaleFactors; | 396 ScopedSetSupportedScaleFactors; |
407 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 397 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
408 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 398 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
409 }; | 399 }; |
410 | 400 |
411 } // namespace content | 401 } // namespace content |
412 | 402 |
413 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 403 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |