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

Side by Side Diff: gpu/config/gpu_blacklist_unittest.cc

Issue 15385003: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | « gpu/config/gpu_blacklist.cc ('k') | gpu/config/gpu_control_list.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "base/memory/scoped_ptr.h" 5 #include "base/memory/scoped_ptr.h"
6 #include "content/browser/gpu/gpu_blacklist.h" 6 #include "gpu/config/gpu_blacklist.h"
7 #include "content/browser/gpu/gpu_control_list_jsons.h" 7 #include "gpu/config/gpu_control_list_jsons.h"
8 #include "content/public/common/gpu_feature_type.h" 8 #include "gpu/config/gpu_feature_type.h"
9 #include "content/public/common/gpu_info.h" 9 #include "gpu/config/gpu_info.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 const char kOsVersion[] = "10.6.4"; 12 const char kOsVersion[] = "10.6.4";
13 13
14 namespace content { 14 namespace gpu {
15 15
16 class GpuBlacklistTest : public testing::Test { 16 class GpuBlacklistTest : public testing::Test {
17 public: 17 public:
18 GpuBlacklistTest() { } 18 GpuBlacklistTest() { }
19 19
20 virtual ~GpuBlacklistTest() { } 20 virtual ~GpuBlacklistTest() { }
21 21
22 const GPUInfo& gpu_info() const { 22 const GPUInfo& gpu_info() const {
23 return gpu_info_; 23 return gpu_info_;
24 } 24 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 GPU_FEATURE_TYPE_ACCELERATED_VIDEO) 133 GPU_FEATURE_TYPE_ACCELERATED_VIDEO)
134 134
135 GPU_BLACKLIST_FEATURE_TEST(PanelFitting, 135 GPU_BLACKLIST_FEATURE_TEST(PanelFitting,
136 "panel_fitting", 136 "panel_fitting",
137 GPU_FEATURE_TYPE_PANEL_FITTING) 137 GPU_FEATURE_TYPE_PANEL_FITTING)
138 138
139 GPU_BLACKLIST_FEATURE_TEST(ForceCompositingMode, 139 GPU_BLACKLIST_FEATURE_TEST(ForceCompositingMode,
140 "force_compositing_mode", 140 "force_compositing_mode",
141 GPU_FEATURE_TYPE_FORCE_COMPOSITING_MODE) 141 GPU_FEATURE_TYPE_FORCE_COMPOSITING_MODE)
142 142
143 } // namespace content 143 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_blacklist.cc ('k') | gpu/config/gpu_control_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698