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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual void AcceleratedSurfaceBuffersSwapped( | 138 virtual void AcceleratedSurfaceBuffersSwapped( |
139 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 139 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
140 int gpu_host_id) OVERRIDE; | 140 int gpu_host_id) OVERRIDE; |
141 virtual void AcceleratedSurfacePostSubBuffer( | 141 virtual void AcceleratedSurfacePostSubBuffer( |
142 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 142 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
143 int gpu_host_id) OVERRIDE; | 143 int gpu_host_id) OVERRIDE; |
144 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 144 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
145 virtual void AcceleratedSurfaceRelease() OVERRIDE {} | 145 virtual void AcceleratedSurfaceRelease() OVERRIDE {} |
146 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 146 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
147 #if defined(OS_MACOSX) | 147 #if defined(OS_MACOSX) |
148 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE; | |
149 virtual bool PostProcessEventForPluginIme( | 148 virtual bool PostProcessEventForPluginIme( |
150 const NativeWebKeyboardEvent& event) OVERRIDE; | 149 const NativeWebKeyboardEvent& event) OVERRIDE; |
151 #elif defined(OS_ANDROID) | 150 #elif defined(OS_ANDROID) |
152 virtual void ShowDisambiguationPopup( | 151 virtual void ShowDisambiguationPopup( |
153 const gfx::Rect& target_rect, | 152 const gfx::Rect& target_rect, |
154 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 153 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
155 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} | 154 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} |
156 #elif defined(OS_WIN) && !defined(USE_AURA) | 155 #elif defined(OS_WIN) && !defined(USE_AURA) |
157 virtual void WillWmDestroy() OVERRIDE; | 156 virtual void WillWmDestroy() OVERRIDE; |
158 #endif | 157 #endif |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 private: | 380 private: |
382 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 381 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
383 ScopedSetSupportedScaleFactors; | 382 ScopedSetSupportedScaleFactors; |
384 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 383 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
385 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 384 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
386 }; | 385 }; |
387 | 386 |
388 } // namespace content | 387 } // namespace content |
389 | 388 |
390 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 389 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |