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

Side by Side Diff: app/win_util.cc

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « app/resource_bundle_dummy.cc ('k') | base/crypto/symmetric_key_mac.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "app/win_util.h" 5 #include "app/win_util.h"
6 6
7 #include <commdlg.h> 7 #include <commdlg.h>
8 #include <dwmapi.h> 8 #include <dwmapi.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
11 11
12 #include <algorithm> 12 #include <algorithm>
13 13
14 #include "app/l10n_util.h" 14 #include "app/l10n_util.h"
15 #include "app/l10n_util_win.h" 15 #include "app/l10n_util_win.h"
16 #include "base/base_switches.h" 16 #include "base/base_switches.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/file_util.h" 18 #include "base/file_util.h"
19 #include "base/i18n/rtl.h" 19 #include "base/i18n/rtl.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/native_library.h" 21 #include "base/native_library.h"
22 #include "base/registry.h"
23 #include "base/scoped_comptr_win.h" 22 #include "base/scoped_comptr_win.h"
24 #include "base/scoped_handle.h" 23 #include "base/scoped_handle.h"
25 #include "base/scoped_handle_win.h" 24 #include "base/scoped_handle_win.h"
26 #include "base/scoped_native_library.h" 25 #include "base/scoped_native_library.h"
27 #include "base/string_util.h" 26 #include "base/string_util.h"
28 #include "base/win_util.h" 27 #include "base/win_util.h"
29 #include "gfx/codec/png_codec.h" 28 #include "gfx/codec/png_codec.h"
30 #include "gfx/gdi_util.h" 29 #include "gfx/gdi_util.h"
31 30
32 // Ensure that we pick up this link library. 31 // Ensure that we pick up this link library.
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 base::ScopedNativeLibrary user32( 590 base::ScopedNativeLibrary user32(
592 FilePath(base::GetNativeLibraryName(L"user32"))); 591 FilePath(base::GetNativeLibraryName(L"user32")));
593 typedef BOOL (*SetProcessDPIAwareFunc)(); 592 typedef BOOL (*SetProcessDPIAwareFunc)();
594 SetProcessDPIAwareFunc set_process_dpi_aware = 593 SetProcessDPIAwareFunc set_process_dpi_aware =
595 (SetProcessDPIAwareFunc)user32.GetFunctionPointer("SetProcessDPIAware"); 594 (SetProcessDPIAwareFunc)user32.GetFunctionPointer("SetProcessDPIAware");
596 if (set_process_dpi_aware) 595 if (set_process_dpi_aware)
597 set_process_dpi_aware(); 596 set_process_dpi_aware();
598 } 597 }
599 598
600 } // namespace win_util 599 } // namespace win_util
OLDNEW
« no previous file with comments | « app/resource_bundle_dummy.cc ('k') | base/crypto/symmetric_key_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698