Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 3132038: Mac: Correctly show/hide compositor on navigations. (Closed)
Patch Set: comment Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 101 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
102 int32 width, 102 int32 width,
103 int32 height, 103 int32 height,
104 uint64 io_surface_identifier); 104 uint64 io_surface_identifier);
105 virtual void AcceleratedSurfaceSetTransportDIB( 105 virtual void AcceleratedSurfaceSetTransportDIB(
106 gfx::PluginWindowHandle window, 106 gfx::PluginWindowHandle window,
107 int32 width, 107 int32 width,
108 int32 height, 108 int32 height,
109 TransportDIB::Handle transport_dib); 109 TransportDIB::Handle transport_dib);
110 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); 110 virtual void AcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window);
111 virtual void DrawAcceleratedSurfaceInstances(CGLContextObj context); 111 virtual void GpuRenderingStateDidChange();
112 #endif 112 #endif
113 virtual void SetVisuallyDeemphasized(bool deemphasized) { } 113 virtual void SetVisuallyDeemphasized(bool deemphasized) { }
114 114
115 #if defined(TOOLKIT_USES_GTK) 115 #if defined(TOOLKIT_USES_GTK)
116 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { } 116 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) { }
117 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { } 117 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) { }
118 #endif 118 #endif
119 119
120 virtual bool ContainsNativeView(gfx::NativeView native_view) const { 120 virtual bool ContainsNativeView(gfx::NativeView native_view) const {
121 return false; 121 return false;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 MockRenderProcessHostFactory rph_factory_; 305 MockRenderProcessHostFactory rph_factory_;
306 TestRenderViewHostFactory rvh_factory_; 306 TestRenderViewHostFactory rvh_factory_;
307 307
308 scoped_ptr<TestTabContents> contents_; 308 scoped_ptr<TestTabContents> contents_;
309 309
310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
311 }; 311 };
312 312
313 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 313 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698