OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_FONTS_LANGUAGES_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_FONTS_LANGUAGES_WINDOW_H_ |
6 #define CHROME_BROWSER_FONTS_LANGUAGES_WINDOW_H_ | 6 #define CHROME_BROWSER_FONTS_LANGUAGES_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 | 12 |
13 // An identifier for Fonts and Languages page. These are treated as indices into | 13 // An identifier for Fonts and Languages page. These are treated as indices into |
14 // the list of available tabs to be displayed. | 14 // the list of available tabs to be displayed. |
15 enum FontsLanguagesPage { | 15 enum FontsLanguagesPage { |
16 FONTS_ENCODING_PAGE = 0, | 16 FONTS_ENCODING_PAGE = 0, |
17 LANGUAGES_PAGE | 17 LANGUAGES_PAGE |
18 }; | 18 }; |
19 | 19 |
20 // Show the Fonts and Languages window selecting the specified page. If a | 20 // Show the Fonts and Languages window selecting the specified page. If a |
21 // Fonts and Languages window is currently open, this just activates it instead | 21 // Fonts and Languages window is currently open, this just activates it instead |
22 // of opening a new one. | 22 // of opening a new one. |
23 void ShowFontsLanguagesWindow(gfx::NativeWindow window, | 23 void ShowFontsLanguagesWindow(gfx::NativeWindow window, |
24 FontsLanguagesPage page, | 24 FontsLanguagesPage page, |
25 Profile* profile); | 25 Profile* profile); |
26 | 26 |
27 #endif // CHROME_BROWSER_FONTS_LANGUAGES_WINDOW_H_ | 27 #endif // CHROME_BROWSER_FONTS_LANGUAGES_WINDOW_H_ |
OLD | NEW |