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

Side by Side Diff: content/browser/renderer_host/accelerated_surface_container_mac.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_
7 #pragma once
8 7
9 // The "GPU plugin" is currently implemented as a special kind of 8 // The "GPU plugin" is currently implemented as a special kind of
10 // NPAPI plugin to provide high-performance on-screen 3D rendering for 9 // NPAPI plugin to provide high-performance on-screen 3D rendering for
11 // Pepper 3D. 10 // Pepper 3D.
12 // 11 //
13 // On Windows and X11 platforms the GPU plugin relies on cross-process 12 // On Windows and X11 platforms the GPU plugin relies on cross-process
14 // parenting of windows, which is not supported via any public APIs in 13 // parenting of windows, which is not supported via any public APIs in
15 // the Mac OS X window system. 14 // the Mac OS X window system.
16 // 15 //
17 // To achieve full hardware acceleration we use the new IOSurface APIs 16 // To achieve full hardware acceleration we use the new IOSurface APIs
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 bool visible_; 147 bool visible_;
149 148
150 // Stores if the plugin's IOSurface has been swapped before. Used to not show 149 // Stores if the plugin's IOSurface has been swapped before. Used to not show
151 // it before it hasn't been painted to at least once. 150 // it before it hasn't been painted to at least once.
152 bool was_painted_to_; 151 bool was_painted_to_;
153 152
154 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerMac); 153 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerMac);
155 }; 154 };
156 155
157 #endif // CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_ 156 #endif // CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/ppapi_plugin_process_host.h ('k') | content/browser/renderer_host/accelerated_surface_container_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698