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

Side by Side Diff: ui/base/win/shell.cc

Issue 16431009: Use a direct include of strings headers in ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « ui/base/win/shell.h ('k') | ui/base/win/window_impl.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) 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 "ui/base/win/shell.h" 5 #include "ui/base/win/shell.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 #include <shlobj.h> // Must be before propkey. 8 #include <shlobj.h> // Must be before propkey.
9 #include <propkey.h> 9 #include <propkey.h>
10 #include <shellapi.h> 10 #include <shellapi.h>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/native_library.h" 13 #include "base/native_library.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/win/metro.h" 15 #include "base/win/metro.h"
16 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
17 #include "base/win/win_util.h" 17 #include "base/win/win_util.h"
18 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
19 19
20 namespace ui { 20 namespace ui {
21 namespace win { 21 namespace win {
22 22
23 namespace { 23 namespace {
24 24
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool IsAeroGlassEnabled() { 117 bool IsAeroGlassEnabled() {
118 if (base::win::GetVersion() < base::win::VERSION_VISTA) 118 if (base::win::GetVersion() < base::win::VERSION_VISTA)
119 return false; 119 return false;
120 // If composition is not enabled, we behave like on XP. 120 // If composition is not enabled, we behave like on XP.
121 BOOL enabled = FALSE; 121 BOOL enabled = FALSE;
122 return SUCCEEDED(DwmIsCompositionEnabled(&enabled)) && enabled; 122 return SUCCEEDED(DwmIsCompositionEnabled(&enabled)) && enabled;
123 } 123 }
124 124
125 } // namespace win 125 } // namespace win
126 } // namespace ui 126 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/win/shell.h ('k') | ui/base/win/window_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698