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

Side by Side Diff: content/common/gpu_info.h

Issue 6673003: Move GPU messages to content. I've also switched the IPC structs to use the ... (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 | « content/common/dx_diag_node.cc ('k') | content/common/gpu_info.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_GPU_INFO_H__ 5 #ifndef CONTENT_COMMON_GPU_INFO_H_
6 #define CHROME_COMMON_GPU_INFO_H__ 6 #define CONTENT_COMMON_GPU_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 // Provides access to the GPU information for the system 9 // Provides access to the GPU information for the system
10 // on which chrome is currently running. 10 // on which chrome is currently running.
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/scoped_ptr.h"
16 #include "base/time.h" 15 #include "base/time.h"
17 #include "build/build_config.h" 16 #include "build/build_config.h"
18 #include "chrome/common/dx_diag_node.h" 17 #include "content/common/dx_diag_node.h"
19 18
20 struct GPUInfo { 19 struct GPUInfo {
21 GPUInfo(); 20 GPUInfo();
22 ~GPUInfo(); 21 ~GPUInfo();
23 22
24 enum Level { 23 enum Level {
25 kUninitialized, 24 kUninitialized,
26 kPreliminary, 25 kPreliminary,
27 kPartial, 26 kPartial,
28 kCompleting, 27 kCompleting,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // If there was an error, then the GPUInfo fields may be incomplete or set 90 // If there was an error, then the GPUInfo fields may be incomplete or set
92 // to default values such as 0 or empty string. 91 // to default values such as 0 or empty string.
93 bool collection_error; 92 bool collection_error;
94 93
95 #if defined(OS_WIN) 94 #if defined(OS_WIN)
96 // The information returned by the DirectX Diagnostics Tool. 95 // The information returned by the DirectX Diagnostics Tool.
97 DxDiagNode dx_diagnostics; 96 DxDiagNode dx_diagnostics;
98 #endif 97 #endif
99 }; 98 };
100 99
101 #endif // CHROME_COMMON_GPU_INFO_H__ 100 #endif // CONTENT_COMMON_GPU_INFO_H_
OLDNEW
« no previous file with comments | « content/common/dx_diag_node.cc ('k') | content/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698