Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(839)

Side by Side Diff: chrome/browser/views/options/fonts_languages_window_view.h

Issue 155668: Refactoring of tabbed-pane component so it can be ported to Linux toolkit_view (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/views/options/content_page_view.cc ('k') | chrome/browser/views/options/fonts_languages_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698