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_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_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 bool PostProcessEventForPluginIme( | 146 virtual bool PostProcessEventForPluginIme( |
147 const NativeWebKeyboardEvent& event) OVERRIDE; | 147 const NativeWebKeyboardEvent& event) OVERRIDE; |
148 #elif defined(OS_ANDROID) | 148 #elif defined(OS_ANDROID) |
149 virtual void ShowDisambiguationPopup( | 149 virtual void ShowDisambiguationPopup( |
150 const gfx::Rect& target_rect, | 150 const gfx::Rect& target_rect, |
151 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 151 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
152 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} | 152 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} |
153 #elif defined(OS_WIN) && !defined(USE_AURA) | 153 #elif defined(OS_WIN) && !defined(USE_AURA) |
154 virtual void WillWmDestroy() OVERRIDE; | 154 virtual void WillWmDestroy() OVERRIDE; |
155 #endif | 155 #endif |
156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 156 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE {} |
157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
158 virtual void SetHasHorizontalScrollbar( | 158 virtual void SetHasHorizontalScrollbar( |
159 bool has_horizontal_scrollbar) OVERRIDE { } | 159 bool has_horizontal_scrollbar) OVERRIDE { } |
160 virtual void SetScrollOffsetPinning( | 160 virtual void SetScrollOffsetPinning( |
161 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 161 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
162 virtual void OnAccessibilityEvents( | 162 virtual void OnAccessibilityEvents( |
163 const std::vector<AccessibilityHostMsg_EventParams>& params) OVERRIDE {} | 163 const std::vector<AccessibilityHostMsg_EventParams>& params) OVERRIDE {} |
164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
165 #if defined(OS_WIN) && !defined(USE_AURA) | 165 #if defined(OS_WIN) && !defined(USE_AURA) |
166 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; | 166 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 private: | 373 private: |
374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
375 ScopedSetSupportedScaleFactors; | 375 ScopedSetSupportedScaleFactors; |
376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
378 }; | 378 }; |
379 | 379 |
380 } // namespace content | 380 } // namespace content |
381 | 381 |
382 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 382 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |