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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 bool processed) OVERRIDE { } | 139 bool processed) OVERRIDE { } |
140 virtual void SetHasHorizontalScrollbar( | 140 virtual void SetHasHorizontalScrollbar( |
141 bool has_horizontal_scrollbar) OVERRIDE { } | 141 bool has_horizontal_scrollbar) OVERRIDE { } |
142 virtual void SetScrollOffsetPinning( | 142 virtual void SetScrollOffsetPinning( |
143 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 143 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
144 | 144 |
145 #if defined(USE_AURA) | 145 #if defined(USE_AURA) |
146 virtual void AcceleratedSurfaceNew( | 146 virtual void AcceleratedSurfaceNew( |
147 int32 width, int32 height, uint64* surface_id, | 147 int32 width, int32 height, uint64* surface_id, |
148 TransportDIB::Handle* surface_handle) OVERRIDE { } | 148 TransportDIB::Handle* surface_handle) OVERRIDE { } |
149 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } | 149 virtual bool AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
150 #endif | 150 #endif |
151 | 151 |
152 #if defined(TOOLKIT_GTK) | 152 #if defined(TOOLKIT_GTK) |
153 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 153 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
154 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 154 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
155 #endif // defined(TOOLKIT_GTK) | 155 #endif // defined(TOOLKIT_GTK) |
156 | 156 |
157 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 157 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
158 | 158 |
159 virtual bool LockMouse() OVERRIDE; | 159 virtual bool LockMouse() OVERRIDE; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 TestRenderViewHost* active_test_rvh(); | 307 TestRenderViewHost* active_test_rvh(); |
308 TestWebContents* contents(); | 308 TestWebContents* contents(); |
309 | 309 |
310 private: | 310 private: |
311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
312 }; | 312 }; |
313 | 313 |
314 } // namespace content | 314 } // namespace content |
315 | 315 |
316 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 316 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |