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

Side by Side Diff: content/browser/renderer_host/accelerated_surface_container_manager_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_MANAGER_MAC_ H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MANAGER_MAC_ H_
6 #define CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MANAGER_MAC_ H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MANAGER_MAC_ H_
7 #pragma once
8 7
9 #include <OpenGL/OpenGL.h> 8 #include <OpenGL/OpenGL.h>
10 #include <map> 9 #include <map>
11 10
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
14 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
15 #include "ui/surface/transport_dib.h" 14 #include "ui/surface/transport_dib.h"
16 15
17 namespace gfx { 16 namespace gfx {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 89
91 // Both |plugin_window_to_container_map_| and the 90 // Both |plugin_window_to_container_map_| and the
92 // AcceleratedSurfaceContainerMac in it are not threadsafe, but accessed from 91 // AcceleratedSurfaceContainerMac in it are not threadsafe, but accessed from
93 // multiple threads. All these accesses are guarded by this lock. 92 // multiple threads. All these accesses are guarded by this lock.
94 mutable base::Lock lock_; 93 mutable base::Lock lock_;
95 94
96 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerManagerMac); 95 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerManagerMac);
97 }; 96 };
98 97
99 #endif // CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MANAGER_M AC_H_ 98 #endif // CONTENT_BROWSER_RENDERER_HOST_ACCELERATED_SURFACE_CONTAINER_MANAGER_M AC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698