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