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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 float page_scale_factor, | 149 float page_scale_factor, |
150 const gfx::Size& content_size) OVERRIDE {} | 150 const gfx::Size& content_size) OVERRIDE {} |
151 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE {} | 151 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE {} |
152 #elif defined(OS_WIN) && !defined(USE_AURA) | 152 #elif defined(OS_WIN) && !defined(USE_AURA) |
153 virtual void WillWmDestroy() OVERRIDE; | 153 virtual void WillWmDestroy() OVERRIDE; |
154 #endif | 154 #endif |
155 #if defined(OS_POSIX) || defined(USE_AURA) | 155 #if defined(OS_POSIX) || defined(USE_AURA) |
156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
158 #endif | 158 #endif |
159 virtual void ProcessTouchAck(bool processed) 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 | 163 |
165 #if defined(USE_AURA) | 164 #if defined(USE_AURA) |
166 virtual void AcceleratedSurfaceNew( | 165 virtual void AcceleratedSurfaceNew( |
167 int32 width, int32 height, uint64 surface_id) OVERRIDE { } | 166 int32 width, int32 height, uint64 surface_id) OVERRIDE { } |
168 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } | 167 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } |
169 #endif | 168 #endif |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 TestRenderViewHost* active_test_rvh(); | 345 TestRenderViewHost* active_test_rvh(); |
347 TestWebContents* contents(); | 346 TestWebContents* contents(); |
348 | 347 |
349 private: | 348 private: |
350 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
351 }; | 350 }; |
352 | 351 |
353 } // namespace content | 352 } // namespace content |
354 | 353 |
355 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |