OLD | NEW |
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 #ifndef CHROME_BROWSER_SHELL_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_SHELL_DIALOGS_H_ |
6 #define CHROME_BROWSER_SHELL_DIALOGS_H_ | 6 #define CHROME_BROWSER_SHELL_DIALOGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "app/gfx/native_widget_types.h" |
11 #include "base/file_path.h" | 12 #include "base/file_path.h" |
12 #include "base/gfx/native_widget_types.h" | |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
17 class Font; | 17 class Font; |
18 } | 18 } |
19 | 19 |
20 // A base class for shell dialogs. | 20 // A base class for shell dialogs. |
21 class BaseShellDialog { | 21 class BaseShellDialog { |
22 public: | 22 public: |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 163 |
164 // Same as above - also support specifying the default font selected in the | 164 // Same as above - also support specifying the default font selected in the |
165 // list when the dialog appears. | 165 // list when the dialog appears. |
166 virtual void SelectFont(gfx::NativeWindow owning_window, | 166 virtual void SelectFont(gfx::NativeWindow owning_window, |
167 void* params, | 167 void* params, |
168 const std::wstring& font_name, | 168 const std::wstring& font_name, |
169 int font_size) = 0; | 169 int font_size) = 0; |
170 }; | 170 }; |
171 | 171 |
172 #endif // CHROME_BROWSER_SHELL_DIALOGS_H_ | 172 #endif // CHROME_BROWSER_SHELL_DIALOGS_H_ |
OLD | NEW |