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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 111 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
112 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 112 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
113 int32 width, | 113 int32 width, |
114 int32 height, | 114 int32 height, |
115 uint64 io_surface_identifier); | 115 uint64 io_surface_identifier); |
116 virtual void AcceleratedSurfaceSetTransportDIB( | 116 virtual void AcceleratedSurfaceSetTransportDIB( |
117 gfx::PluginWindowHandle window, | 117 gfx::PluginWindowHandle window, |
118 int32 width, | 118 int32 width, |
119 int32 height, | 119 int32 height, |
120 TransportDIB::Handle transport_dib); | 120 TransportDIB::Handle transport_dib); |
121 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); | 121 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
122 uint64); | |
stuartmorgan
2010/10/28 21:29:52
Add variable name.
| |
122 virtual void GpuRenderingStateDidChange(); | 123 virtual void GpuRenderingStateDidChange(); |
123 #endif | 124 #endif |
124 virtual void SetVisuallyDeemphasized(bool deemphasized) { } | 125 virtual void SetVisuallyDeemphasized(bool deemphasized) { } |
125 | 126 |
126 #if defined(TOOLKIT_USES_GTK) | 127 #if defined(TOOLKIT_USES_GTK) |
127 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } | 128 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } |
128 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } | 129 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } |
129 #endif | 130 #endif |
130 | 131 |
131 virtual bool ContainsNativeView(gfx::NativeView native_view) const { | 132 virtual bool ContainsNativeView(gfx::NativeView native_view) const { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
279 | 280 |
280 MockRenderProcessHostFactory rph_factory_; | 281 MockRenderProcessHostFactory rph_factory_; |
281 TestRenderViewHostFactory rvh_factory_; | 282 TestRenderViewHostFactory rvh_factory_; |
282 | 283 |
283 scoped_ptr<TestTabContents> contents_; | 284 scoped_ptr<TestTabContents> contents_; |
284 | 285 |
285 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 286 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
286 }; | 287 }; |
287 | 288 |
288 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 289 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |