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(WebKit::WebInputEvent::Type type, | 159 virtual void ProcessTouchAck(bool processed) OVERRIDE { } |
160 bool processed) OVERRIDE { } | |
161 virtual void SetHasHorizontalScrollbar( | 160 virtual void SetHasHorizontalScrollbar( |
162 bool has_horizontal_scrollbar) OVERRIDE { } | 161 bool has_horizontal_scrollbar) OVERRIDE { } |
163 virtual void SetScrollOffsetPinning( | 162 virtual void SetScrollOffsetPinning( |
164 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 163 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
165 | 164 |
166 #if defined(USE_AURA) | 165 #if defined(USE_AURA) |
167 virtual void AcceleratedSurfaceNew( | 166 virtual void AcceleratedSurfaceNew( |
168 int32 width, int32 height, uint64 surface_id) OVERRIDE { } | 167 int32 width, int32 height, uint64 surface_id) OVERRIDE { } |
169 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } | 168 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } |
170 #endif | 169 #endif |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 TestRenderViewHost* active_test_rvh(); | 346 TestRenderViewHost* active_test_rvh(); |
348 TestWebContents* contents(); | 347 TestWebContents* contents(); |
349 | 348 |
350 private: | 349 private: |
351 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 350 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
352 }; | 351 }; |
353 | 352 |
354 } // namespace content | 353 } // namespace content |
355 | 354 |
356 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 355 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |