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