OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |