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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDER_WIDGET_HOST_VIEW_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_MACOSX) 9 #if defined(OS_MACOSX)
10 #include <OpenGL/OpenGL.h> 10 #include <OpenGL/OpenGL.h>
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 int32 width, 211 int32 width,
212 int32 height, 212 int32 height,
213 uint64 io_surface_identifier) = 0; 213 uint64 io_surface_identifier) = 0;
214 virtual void AcceleratedSurfaceSetTransportDIB( 214 virtual void AcceleratedSurfaceSetTransportDIB(
215 gfx::PluginWindowHandle window, 215 gfx::PluginWindowHandle window,
216 int32 width, 216 int32 width,
217 int32 height, 217 int32 height,
218 TransportDIB::Handle transport_dib) = 0; 218 TransportDIB::Handle transport_dib) = 0;
219 virtual void AcceleratedSurfaceBuffersSwapped( 219 virtual void AcceleratedSurfaceBuffersSwapped(
220 gfx::PluginWindowHandle window) = 0; 220 gfx::PluginWindowHandle window) = 0;
221 virtual void GpuRenderingStateDidChange() = 0;
221 #endif 222 #endif
222 223
223 #if defined(TOOLKIT_USES_GTK) 224 #if defined(TOOLKIT_USES_GTK)
224 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; 225 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0;
225 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; 226 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0;
226 #endif 227 #endif
227 228
228 // Toggles visual muting of the render view area. This is on when a 229 // Toggles visual muting of the render view area. This is on when a
229 // constrained window is showing. 230 // constrained window is showing.
230 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0; 231 virtual void SetVisuallyDeemphasized(bool deemphasized) = 0;
(...skipping 29 matching lines...) Expand all
260 261
261 // A custom background to paint behind the web content. This will be tiled 262 // A custom background to paint behind the web content. This will be tiled
262 // horizontally. Can be null, in which case we fall back to painting white. 263 // horizontally. Can be null, in which case we fall back to painting white.
263 SkBitmap background_; 264 SkBitmap background_;
264 265
265 private: 266 private:
266 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); 267 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
267 }; 268 };
268 269
269 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ 270 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698