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

Side by Side Diff: chrome/browser/views/shell_dialogs_win.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « chrome/browser/views/page_info_window.cc ('k') | chrome/browser/views/tabs/tab_renderer.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/shell_dialogs.h" 5 #include "chrome/browser/shell_dialogs.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <commdlg.h> 8 #include <commdlg.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #include <atlbase.h> 10 #include <atlbase.h>
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <set> 13 #include <set>
14 14
15 #include "app/gfx/chrome_font.h" 15 #include "app/gfx/chrome_font.h"
16 #include "app/l10n_util.h" 16 #include "app/l10n_util.h"
17 #include "app/win_util.h"
17 #include "base/file_util.h" 18 #include "base/file_util.h"
18 #include "base/registry.h" 19 #include "base/registry.h"
19 #include "base/string_util.h" 20 #include "base/string_util.h"
20 #include "base/thread.h" 21 #include "base/thread.h"
21 #include "chrome/browser/browser_process.h" 22 #include "chrome/browser/browser_process.h"
22 #include "chrome/common/win_util.h"
23 #include "grit/generated_resources.h" 23 #include "grit/generated_resources.h"
24 24
25 // Helpers to show certain types of Windows shell dialogs in a way that doesn't 25 // Helpers to show certain types of Windows shell dialogs in a way that doesn't
26 // block the UI of the entire app. 26 // block the UI of the entire app.
27 27
28 class ShellDialogThread : public base::Thread { 28 class ShellDialogThread : public base::Thread {
29 public: 29 public:
30 ShellDialogThread() : base::Thread("Chrome_ShellDialogThread") { } 30 ShellDialogThread() : base::Thread("Chrome_ShellDialogThread") { }
31 31
32 protected: 32 protected:
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 void SelectFontDialogImpl::FontNotSelected(void* params, RunState run_state) { 724 void SelectFontDialogImpl::FontNotSelected(void* params, RunState run_state) {
725 if (listener_) 725 if (listener_)
726 listener_->FontSelectionCanceled(params); 726 listener_->FontSelectionCanceled(params);
727 EndRun(run_state); 727 EndRun(run_state);
728 } 728 }
729 729
730 // static 730 // static
731 SelectFontDialog* SelectFontDialog::Create(Listener* listener) { 731 SelectFontDialog* SelectFontDialog::Create(Listener* listener) {
732 return new SelectFontDialogImpl(listener); 732 return new SelectFontDialogImpl(listener);
733 } 733 }
OLDNEW
« no previous file with comments | « chrome/browser/views/page_info_window.cc ('k') | chrome/browser/views/tabs/tab_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698