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