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_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/fonts_languages_window.h" | 8 #include "chrome/browser/fonts_languages_window.h" |
9 #include "views/controls/tabbed_pane.h" | |
10 #include "views/view.h" | 9 #include "views/view.h" |
11 #include "views/window/dialog_delegate.h" | 10 #include "views/window/dialog_delegate.h" |
12 #include "views/window/window.h" | |
13 | 11 |
14 class Profile; | 12 class Profile; |
15 class FontsPageView; | 13 class FontsPageView; |
16 class LanguagesPageView; | 14 class LanguagesPageView; |
17 | 15 |
| 16 namespace views { |
| 17 class TabbedPane; |
| 18 } |
| 19 |
18 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
19 // FontsLanguagesWindowView | 21 // FontsLanguagesWindowView |
20 // | 22 // |
21 // The contents of the "Fonts and Languages Preferences" dialog window. | 23 // The contents of the "Fonts and Languages Preferences" dialog window. |
22 // | 24 // |
23 class FontsLanguagesWindowView : public views::View, | 25 class FontsLanguagesWindowView : public views::View, |
24 public views::DialogDelegate { | 26 public views::DialogDelegate { |
25 public: | 27 public: |
26 explicit FontsLanguagesWindowView(Profile* profile); | 28 explicit FontsLanguagesWindowView(Profile* profile); |
27 virtual ~FontsLanguagesWindowView(); | 29 virtual ~FontsLanguagesWindowView(); |
(...skipping 30 matching lines...) Expand all Loading... |
58 // OK is pressed. | 60 // OK is pressed. |
59 FontsPageView* fonts_page_; | 61 FontsPageView* fonts_page_; |
60 | 62 |
61 // Languages Page View handle remembered so that prefs is updated only when | 63 // Languages Page View handle remembered so that prefs is updated only when |
62 // OK is pressed. | 64 // OK is pressed. |
63 LanguagesPageView* languages_page_; | 65 LanguagesPageView* languages_page_; |
64 | 66 |
65 // The Profile associated with these options. | 67 // The Profile associated with these options. |
66 Profile* profile_; | 68 Profile* profile_; |
67 | 69 |
68 DISALLOW_EVIL_CONSTRUCTORS(FontsLanguagesWindowView); | 70 DISALLOW_COPY_AND_ASSIGN(FontsLanguagesWindowView); |
69 }; | 71 }; |
70 | 72 |
71 #endif // CHROME_BROWSER_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ | 73 #endif // CHROME_BROWSER_VIEWS_OPTIONS_FONTS_LANGUAGES_WINDOW_VIEW_H_ |
OLD | NEW |