| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 #endif | 158 #endif |
| 159 #if defined(OS_POSIX) || defined(USE_AURA) | 159 #if defined(OS_POSIX) || defined(USE_AURA) |
| 160 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 160 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
| 161 #endif | 161 #endif |
| 162 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 162 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 163 virtual void SetHasHorizontalScrollbar( | 163 virtual void SetHasHorizontalScrollbar( |
| 164 bool has_horizontal_scrollbar) OVERRIDE { } | 164 bool has_horizontal_scrollbar) OVERRIDE { } |
| 165 virtual void SetScrollOffsetPinning( | 165 virtual void SetScrollOffsetPinning( |
| 166 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 166 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
| 167 | 167 |
| 168 #if defined(USE_AURA) | |
| 169 virtual void AcceleratedSurfaceNew( | |
| 170 int32 width, int32 height, uint64 surface_id) OVERRIDE { } | |
| 171 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } | |
| 172 #endif | |
| 173 | |
| 174 #if defined(TOOLKIT_GTK) | 168 #if defined(TOOLKIT_GTK) |
| 175 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 169 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
| 176 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 170 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
| 177 #endif // defined(TOOLKIT_GTK) | 171 #endif // defined(TOOLKIT_GTK) |
| 178 | 172 |
| 179 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 173 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 180 | 174 |
| 181 virtual bool LockMouse() OVERRIDE; | 175 virtual bool LockMouse() OVERRIDE; |
| 182 virtual void UnlockMouse() OVERRIDE; | 176 virtual void UnlockMouse() OVERRIDE; |
| 183 | 177 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 TestRenderViewHost* active_test_rvh(); | 340 TestRenderViewHost* active_test_rvh(); |
| 347 TestWebContents* contents(); | 341 TestWebContents* contents(); |
| 348 | 342 |
| 349 private: | 343 private: |
| 350 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 344 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 351 }; | 345 }; |
| 352 | 346 |
| 353 } // namespace content | 347 } // namespace content |
| 354 | 348 |
| 355 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 349 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |