| 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 TransportDIB::Handle transport_dib); | 119 TransportDIB::Handle transport_dib); |
| 120 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, | 120 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
| 121 uint64 surface_id); | 121 uint64 surface_id); |
| 122 virtual void GpuRenderingStateDidChange(); | 122 virtual void GpuRenderingStateDidChange(); |
| 123 #endif | 123 #endif |
| 124 virtual void SetVisuallyDeemphasized(bool deemphasized) { } | 124 virtual void SetVisuallyDeemphasized(bool deemphasized) { } |
| 125 | 125 |
| 126 #if defined(TOOLKIT_USES_GTK) | 126 #if defined(TOOLKIT_USES_GTK) |
| 127 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } | 127 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } |
| 128 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } | 128 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } |
| 129 virtual void AcceleratedCompositingActivated(bool activated) { } |
| 129 #endif | 130 #endif |
| 130 | 131 |
| 131 virtual bool ContainsNativeView(gfx::NativeView native_view) const { | 132 virtual bool ContainsNativeView(gfx::NativeView native_view) const { |
| 132 return false; | 133 return false; |
| 133 } | 134 } |
| 134 | 135 |
| 135 bool is_showing() const { return is_showing_; } | 136 bool is_showing() const { return is_showing_; } |
| 136 | 137 |
| 137 private: | 138 private: |
| 138 RenderWidgetHost* rwh_; | 139 RenderWidgetHost* rwh_; |
| (...skipping 140 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 |