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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
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/platform_util.h" 5 #include "chrome/browser/platform_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 "app/win/scoped_co_mem.h" 12 #include "app/win/scoped_co_mem.h"
13 #include "app/win/shell.h" 13 #include "app/win/shell.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/scoped_comptr_win.h" 18 #include "base/scoped_comptr_win.h"
19 #include "base/string_util.h" 19 #include "base/string_util.h"
20 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
21 #include "base/win/registry.h" 21 #include "base/win/registry.h"
22 #include "chrome/installer/util/google_update_settings.h" 22 #include "chrome/installer/util/google_update_settings.h"
23 #include "chrome/installer/util/google_update_constants.h" 23 #include "chrome/installer/util/google_update_constants.h"
24 #include "chrome/installer/util/install_util.h" 24 #include "chrome/installer/util/install_util.h"
25 #include "gfx/native_widget_types.h"
26 #include "googleurl/src/gurl.h" 25 #include "googleurl/src/gurl.h"
27 #include "ui/base/message_box_win.h" 26 #include "ui/base/message_box_win.h"
27 #include "ui/gfx/native_widget_types.h"
28 28
29 namespace platform_util { 29 namespace platform_util {
30 30
31 void ShowItemInFolder(const FilePath& full_path) { 31 void ShowItemInFolder(const FilePath& full_path) {
32 FilePath dir = full_path.DirName(); 32 FilePath dir = full_path.DirName();
33 // ParseDisplayName will fail if the directory is "C:", it must be "C:\\". 33 // ParseDisplayName will fail if the directory is "C:", it must be "C:\\".
34 if (dir.value() == L"" || !file_util::EnsureEndsWithSeparator(&dir)) 34 if (dir.value() == L"" || !file_util::EnsureEndsWithSeparator(&dir))
35 return; 35 return;
36 36
37 typedef HRESULT (WINAPI *SHOpenFolderAndSelectItemsFuncPtr)( 37 typedef HRESULT (WINAPI *SHOpenFolderAndSelectItemsFuncPtr)(
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 GoogleUpdateSettings::GetChromeChannel(is_system_install, &channel); 183 GoogleUpdateSettings::GetChromeChannel(is_system_install, &channel);
184 } 184 }
185 return UTF16ToASCII(channel); 185 return UTF16ToASCII(channel);
186 #else 186 #else
187 return std::string(); 187 return std::string();
188 #endif 188 #endif
189 } 189 }
190 190
191 } // namespace platform_util 191 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/platform_util_common_linux.cc ('k') | chrome/browser/plugin_carbon_interpose_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698