OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 int32 height, | 119 int32 height, |
120 TransportDIB::Handle transport_dib); | 120 TransportDIB::Handle transport_dib); |
121 virtual void AcceleratedSurfaceBuffersSwapped( | 121 virtual void AcceleratedSurfaceBuffersSwapped( |
122 gfx::PluginWindowHandle window, | 122 gfx::PluginWindowHandle window, |
123 uint64 surface_id, | 123 uint64 surface_id, |
124 int renderer_id, | 124 int renderer_id, |
125 int32 route_id, | 125 int32 route_id, |
126 uint64 swap_buffers_count); | 126 uint64 swap_buffers_count); |
127 virtual void GpuRenderingStateDidChange(); | 127 virtual void GpuRenderingStateDidChange(); |
128 #elif defined(OS_WIN) | 128 #elif defined(OS_WIN) |
129 virtual gfx::PluginWindowHandle CreateCompositorHostWindow(); | 129 virtual gfx::PluginWindowHandle GetCompositorHostWindow(); |
130 virtual void WillWmDestroy(); | 130 virtual void WillWmDestroy(); |
131 virtual void ShowCompositorHostWindow(bool show); | 131 virtual void ShowCompositorHostWindow(bool show); |
132 #endif | 132 #endif |
133 virtual void SetVisuallyDeemphasized(bool deemphasized) { } | 133 virtual void SetVisuallyDeemphasized(bool deemphasized) { } |
134 | 134 |
135 #if defined(TOOLKIT_USES_GTK) | 135 #if defined(TOOLKIT_USES_GTK) |
136 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } | 136 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } |
137 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } | 137 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } |
138 virtual void AcceleratedCompositingActivated(bool activated) { } | 138 virtual void AcceleratedCompositingActivated(bool activated) { } |
139 #endif | 139 #endif |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 289 |
290 MockRenderProcessHostFactory rph_factory_; | 290 MockRenderProcessHostFactory rph_factory_; |
291 TestRenderViewHostFactory rvh_factory_; | 291 TestRenderViewHostFactory rvh_factory_; |
292 | 292 |
293 scoped_ptr<TestTabContents> contents_; | 293 scoped_ptr<TestTabContents> contents_; |
294 | 294 |
295 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 295 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
296 }; | 296 }; |
297 | 297 |
298 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 298 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |