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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual void AcceleratedSurfacePostSubBuffer( | 133 virtual void AcceleratedSurfacePostSubBuffer( |
134 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 134 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
135 int gpu_host_id) OVERRIDE; | 135 int gpu_host_id) OVERRIDE; |
136 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 136 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
137 virtual void AcceleratedSurfaceRelease() OVERRIDE {} | 137 virtual void AcceleratedSurfaceRelease() OVERRIDE {} |
138 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 138 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
139 #if defined(OS_MACOSX) | 139 #if defined(OS_MACOSX) |
140 virtual bool PostProcessEventForPluginIme( | 140 virtual bool PostProcessEventForPluginIme( |
141 const NativeWebKeyboardEvent& event) OVERRIDE; | 141 const NativeWebKeyboardEvent& event) OVERRIDE; |
142 #elif defined(OS_ANDROID) | 142 #elif defined(OS_ANDROID) |
143 virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE {} | |
144 virtual void ShowDisambiguationPopup( | 143 virtual void ShowDisambiguationPopup( |
145 const gfx::Rect& target_rect, | 144 const gfx::Rect& target_rect, |
146 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 145 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
147 virtual void LockCompositingSurface() OVERRIDE {} | 146 virtual void LockCompositingSurface() OVERRIDE {} |
148 virtual void UnlockCompositingSurface() OVERRIDE {} | 147 virtual void UnlockCompositingSurface() OVERRIDE {} |
149 #endif | 148 #endif |
150 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} | 149 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
151 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 150 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
152 virtual void SetScrollOffsetPinning( | 151 virtual void SetScrollOffsetPinning( |
153 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 152 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 private: | 376 private: |
378 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 377 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
379 ScopedSetSupportedScaleFactors; | 378 ScopedSetSupportedScaleFactors; |
380 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 379 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
381 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
382 }; | 381 }; |
383 | 382 |
384 } // namespace content | 383 } // namespace content |
385 | 384 |
386 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 385 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |