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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 const NativeWebKeyboardEvent& event) OVERRIDE; | 141 const NativeWebKeyboardEvent& event) OVERRIDE; |
142 #elif defined(OS_ANDROID) | 142 #elif defined(OS_ANDROID) |
143 virtual void ShowDisambiguationPopup( | 143 virtual void ShowDisambiguationPopup( |
144 const gfx::Rect& target_rect, | 144 const gfx::Rect& target_rect, |
145 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 145 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
146 virtual void LockCompositingSurface() OVERRIDE {} | 146 virtual void LockCompositingSurface() OVERRIDE {} |
147 virtual void UnlockCompositingSurface() OVERRIDE {} | 147 virtual void UnlockCompositingSurface() OVERRIDE {} |
148 #endif | 148 #endif |
149 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} | 149 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
150 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 150 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
151 virtual void SetScrollOffsetPinning( | |
152 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | |
153 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 151 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
154 virtual bool LockMouse() OVERRIDE; | 152 virtual bool LockMouse() OVERRIDE; |
155 virtual void UnlockMouse() OVERRIDE; | 153 virtual void UnlockMouse() OVERRIDE; |
156 #if defined(OS_WIN) | 154 #if defined(OS_WIN) |
157 virtual void SetParentNativeViewAccessible( | 155 virtual void SetParentNativeViewAccessible( |
158 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 156 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
159 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 157 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
160 #endif | 158 #endif |
161 | 159 |
162 bool is_showing() const { return is_showing_; } | 160 bool is_showing() const { return is_showing_; } |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 private: | 374 private: |
377 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 375 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
378 ScopedSetSupportedScaleFactors; | 376 ScopedSetSupportedScaleFactors; |
379 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 377 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
381 }; | 379 }; |
382 | 380 |
383 } // namespace content | 381 } // namespace content |
384 | 382 |
385 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 383 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |