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

Side by Side Diff: chrome/browser/ui/views/base_shell_dialog_win.h

Issue 10669023: Start consolidating non-port specific code to ui/base/dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clenaup Created 8 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 | « chrome/browser/ui/select_file_dialog.cc ('k') | chrome/browser/ui/views/color_chooser_dialog.h » ('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 #ifndef CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #include <set> 10 #include <set>
11 11
12 #include "chrome/browser/ui/base_shell_dialog.h" 12 #include "ui/base/dialogs/base_shell_dialog.h"
13 13
14 namespace base { 14 namespace base {
15 class Thread; 15 class Thread;
16 } 16 }
17 17
18 /////////////////////////////////////////////////////////////////////////////// 18 ///////////////////////////////////////////////////////////////////////////////
19 // A base class for all shell dialog implementations that handles showing a 19 // A base class for all shell dialog implementations that handles showing a
20 // shell dialog modally on its own thread. 20 // shell dialog modally on its own thread.
21 class BaseShellDialogImpl { 21 class BaseShellDialogImpl {
22 public: 22 public:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // of this object. 84 // of this object.
85 // This set only contains non-null HWNDs. NULL hwnds are not added to this 85 // This set only contains non-null HWNDs. NULL hwnds are not added to this
86 // list. 86 // list.
87 static Owners owners_; 87 static Owners owners_;
88 static int instance_count_; 88 static int instance_count_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(BaseShellDialogImpl); 90 DISALLOW_COPY_AND_ASSIGN(BaseShellDialogImpl);
91 }; 91 };
92 92
93 #endif // CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_ 93 #endif // CHROME_BROWSER_UI_VIEWS_BASE_SHELL_DIALOG_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/select_file_dialog.cc ('k') | chrome/browser/ui/views/color_chooser_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698