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

Side by Side Diff: chrome/browser/gpu_process_host_ui_shim.h

Issue 6672064: Move gpu_feature_flags from chrome\common to content\browser since it's only ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « chrome/browser/gpu_data_manager.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GPU_PROCESS_HOST_UI_SHIM_H_ 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
7 #pragma once 7 #pragma once
8 8
9 // This class lives on the UI thread and supports classes like the 9 // This class lives on the UI thread and supports classes like the
10 // BackingStoreProxy, which must live on the UI thread. The IO thread 10 // BackingStoreProxy, which must live on the UI thread. The IO thread
11 // portion of this class, the GpuProcessHost, is responsible for 11 // portion of this class, the GpuProcessHost, is responsible for
12 // shuttling messages between the browser and GPU processes. 12 // shuttling messages between the browser and GPU processes.
13 13
14 #include <map> 14 #include <map>
15 #include <queue> 15 #include <queue>
16 16
17 #include "base/callback.h" 17 #include "base/callback.h"
18 #include "base/linked_ptr.h" 18 #include "base/linked_ptr.h"
19 #include "base/process.h" 19 #include "base/process.h"
20 #include "base/scoped_ptr.h" 20 #include "base/scoped_ptr.h"
21 #include "base/singleton.h" 21 #include "base/singleton.h"
22 #include "base/threading/non_thread_safe.h" 22 #include "base/threading/non_thread_safe.h"
23 #include "chrome/common/gpu_feature_flags.h" 23 #include "content/common/gpu_feature_flags.h"
24 #include "content/common/gpu_info.h" 24 #include "content/common/gpu_info.h"
25 #include "content/common/message_router.h" 25 #include "content/common/message_router.h"
26 #include "ui/gfx/native_widget_types.h" 26 #include "ui/gfx/native_widget_types.h"
27 27
28 namespace gfx { 28 namespace gfx {
29 class Size; 29 class Size;
30 } 30 }
31 31
32 class GpuDataManager; 32 class GpuDataManager;
33 struct GPUCreateCommandBufferConfig; 33 struct GPUCreateCommandBufferConfig;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // with it. Multimap is used to simulate reference counting, see comment in 182 // with it. Multimap is used to simulate reference counting, see comment in
183 // GpuProcessHostUIShim::CreateViewCommandBuffer. 183 // GpuProcessHostUIShim::CreateViewCommandBuffer.
184 class ViewSurface; 184 class ViewSurface;
185 typedef std::multimap<ViewID, linked_ptr<ViewSurface> > ViewSurfaceMap; 185 typedef std::multimap<ViewID, linked_ptr<ViewSurface> > ViewSurfaceMap;
186 ViewSurfaceMap acquired_surfaces_; 186 ViewSurfaceMap acquired_surfaces_;
187 187
188 }; 188 };
189 189
190 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 190 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
191 191
OLDNEW
« no previous file with comments | « chrome/browser/gpu_data_manager.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698