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

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

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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) 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_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_
6 #define CHROME_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #include <map> 10 #include <map>
11 11
12 #include "app/surface/transport_dib.h" 12 #include "app/surface/transport_dib.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 16
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool gpu_rendering_active_; 114 bool gpu_rendering_active_;
115 115
116 // Both |plugin_window_to_container_map_| and the 116 // Both |plugin_window_to_container_map_| and the
117 // AcceleratedSurfaceContainerMac in it are not threadsafe, but accessed from 117 // AcceleratedSurfaceContainerMac in it are not threadsafe, but accessed from
118 // multiple threads. All these accesses are guarded by this lock. 118 // multiple threads. All these accesses are guarded by this lock.
119 mutable base::Lock lock_; 119 mutable base::Lock lock_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerManagerMac); 121 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerManagerMac);
122 }; 122 };
123 123
124 #endif // CHROME_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_ 124 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MANAGER_MAC_H_
125
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698