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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 146 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
147 virtual void AcceleratedSurfaceRelease() OVERRIDE {} | 147 virtual void AcceleratedSurfaceRelease() OVERRIDE {} |
148 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 148 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
149 #if defined(OS_MACOSX) | 149 #if defined(OS_MACOSX) |
150 virtual bool PostProcessEventForPluginIme( | 150 virtual bool PostProcessEventForPluginIme( |
151 const NativeWebKeyboardEvent& event) OVERRIDE; | 151 const NativeWebKeyboardEvent& event) OVERRIDE; |
152 #elif defined(OS_ANDROID) | 152 #elif defined(OS_ANDROID) |
153 virtual void ShowDisambiguationPopup( | 153 virtual void ShowDisambiguationPopup( |
154 const gfx::Rect& target_rect, | 154 const gfx::Rect& target_rect, |
155 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 155 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
156 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} | |
157 #endif | 156 #endif |
158 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} | 157 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
159 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 158 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
160 virtual void SetHasHorizontalScrollbar( | 159 virtual void SetHasHorizontalScrollbar( |
161 bool has_horizontal_scrollbar) OVERRIDE { } | 160 bool has_horizontal_scrollbar) OVERRIDE { } |
162 virtual void SetScrollOffsetPinning( | 161 virtual void SetScrollOffsetPinning( |
163 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 162 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 163 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
165 virtual bool LockMouse() OVERRIDE; | 164 virtual bool LockMouse() OVERRIDE; |
166 virtual void UnlockMouse() OVERRIDE; | 165 virtual void UnlockMouse() OVERRIDE; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 private: | 383 private: |
385 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 384 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
386 ScopedSetSupportedScaleFactors; | 385 ScopedSetSupportedScaleFactors; |
387 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 386 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
388 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 387 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
389 }; | 388 }; |
390 | 389 |
391 } // namespace content | 390 } // namespace content |
392 | 391 |
393 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 392 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |