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

Side by Side Diff: chrome/browser/policy/policy_browsertest.cc

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 #include "net/url_request/url_request.h" 160 #include "net/url_request/url_request.h"
161 #include "net/url_request/url_request_filter.h" 161 #include "net/url_request/url_request_filter.h"
162 #include "net/url_request/url_request_interceptor.h" 162 #include "net/url_request/url_request_interceptor.h"
163 #include "policy/policy_constants.h" 163 #include "policy/policy_constants.h"
164 #include "testing/gmock/include/gmock/gmock.h" 164 #include "testing/gmock/include/gmock/gmock.h"
165 #include "testing/gtest/include/gtest/gtest.h" 165 #include "testing/gtest/include/gtest/gtest.h"
166 #include "third_party/WebKit/public/web/WebInputEvent.h" 166 #include "third_party/WebKit/public/web/WebInputEvent.h"
167 #include "ui/base/l10n/l10n_util.h" 167 #include "ui/base/l10n/l10n_util.h"
168 #include "ui/base/page_transition_types.h" 168 #include "ui/base/page_transition_types.h"
169 #include "ui/base/resource/resource_bundle.h" 169 #include "ui/base/resource/resource_bundle.h"
170 #include "ui/gfx/host_desktop_type.h"
170 #include "url/gurl.h" 171 #include "url/gurl.h"
171 172
172 #if defined(OS_CHROMEOS) 173 #if defined(OS_CHROMEOS)
173 #include "ash/accelerators/accelerator_controller.h" 174 #include "ash/accelerators/accelerator_controller.h"
174 #include "ash/accelerators/accelerator_table.h" 175 #include "ash/accelerators/accelerator_table.h"
175 #include "ash/shell.h" 176 #include "ash/shell.h"
176 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" 177 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
177 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" 178 #include "chrome/browser/chromeos/accessibility/magnification_manager.h"
178 #include "chrome/browser/profiles/profile_manager.h" 179 #include "chrome/browser/profiles/profile_manager.h"
179 #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h" 180 #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h"
(...skipping 3683 matching lines...) Expand 10 before | Expand all | Expand 10 after
3863 3864
3864 IN_PROC_BROWSER_TEST_F(HardwareAccelerationModePolicyTest, 3865 IN_PROC_BROWSER_TEST_F(HardwareAccelerationModePolicyTest,
3865 HardwareAccelerationDisabled) { 3866 HardwareAccelerationDisabled) {
3866 // Verifies that hardware acceleration can be disabled with policy. 3867 // Verifies that hardware acceleration can be disabled with policy.
3867 EXPECT_FALSE( 3868 EXPECT_FALSE(
3868 content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr)); 3869 content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr));
3869 } 3870 }
3870 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 3871 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
3871 3872
3872 } // namespace policy 3873 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/printing/print_dialog_cloud_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698