OLD | NEW |
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 #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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Font; | 18 class Font; |
19 } | 19 } |
20 | 20 |
21 // This function is declared extern such that it is accessible for unit tests | 21 // This function is declared extern such that it is accessible for unit tests |
22 // in /chrome/browser/ui/views/shell_dialogs_win_unittest.cc | 22 // in /chrome/browser/ui/views/shell_dialogs_win_unittest.cc |
23 extern std::wstring AppendExtensionIfNeeded(const std::wstring& filename, | 23 extern std::wstring AppendExtensionIfNeeded(const std::wstring& filename, |
24 const std::wstring& filter_selected, | 24 const std::wstring& filter_selected, |
25 const std::wstring& suggested_ext); | 25 const std::wstring& suggested_ext); |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const std::wstring& font_name, | 193 const std::wstring& font_name, |
194 int font_size) = 0; | 194 int font_size) = 0; |
195 | 195 |
196 protected: | 196 protected: |
197 friend class base::RefCountedThreadSafe<SelectFontDialog>; | 197 friend class base::RefCountedThreadSafe<SelectFontDialog>; |
198 SelectFontDialog(); | 198 SelectFontDialog(); |
199 virtual ~SelectFontDialog(); | 199 virtual ~SelectFontDialog(); |
200 }; | 200 }; |
201 | 201 |
202 #endif // CHROME_BROWSER_SHELL_DIALOGS_H_ | 202 #endif // CHROME_BROWSER_SHELL_DIALOGS_H_ |
OLD | NEW |