| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |