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

Side by Side Diff: chrome/browser/gpu_util_unittest.cc

Issue 10907098: Revert 155218 - Move gpu blacklist to content side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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_util.cc ('k') | chrome/browser/ui/webui/gpu_internals_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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 #include "chrome/browser/gpu_util.h" 5 #include "chrome/browser/gpu_util.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 using content::GpuFeatureType; 8 using content::GpuFeatureType;
9 9
10 TEST(GpuUtilsTest, GpuFeatureTypFromString) { 10 TEST(GpuUtilsTest, GpuFeatureTypFromString) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 content::GPU_FEATURE_TYPE_MULTISAMPLING)).c_str(), 55 content::GPU_FEATURE_TYPE_MULTISAMPLING)).c_str(),
56 "webgl,multisampling"); 56 "webgl,multisampling");
57 57
58 std::string tmp; 58 std::string tmp;
59 tmp = gpu_util::GpuFeatureTypeToString( 59 tmp = gpu_util::GpuFeatureTypeToString(
60 static_cast<content::GpuFeatureType>( 60 static_cast<content::GpuFeatureType>(
61 content::GPU_FEATURE_TYPE_WEBGL | 61 content::GPU_FEATURE_TYPE_WEBGL |
62 content::GPU_FEATURE_TYPE_ALL)); 62 content::GPU_FEATURE_TYPE_ALL));
63 EXPECT_STREQ(tmp.c_str(), "all"); 63 EXPECT_STREQ(tmp.c_str(), "all");
64 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu_util.cc ('k') | chrome/browser/ui/webui/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698