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

Side by Side Diff: chrome/browser/ui/views/options/advanced_page_view.h

Issue 6670011: Options: Remove the GTK and Views native options code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 9 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
7 #pragma once
8
9 #include "chrome/browser/ui/views/options/options_page_view.h"
10 #include "views/controls/button/button.h"
11
12 class AdvancedOptionsListModel;
13 class AdvancedScrollViewContainer;
14 class PrefService;
15 namespace views {
16 class NativeButton;
17 }
18
19 ///////////////////////////////////////////////////////////////////////////////
20 // AdvancedPageView
21
22 class AdvancedPageView : public OptionsPageView,
23 public views::ButtonListener {
24 public:
25 explicit AdvancedPageView(Profile* profile);
26 virtual ~AdvancedPageView();
27
28 // Resets all prefs to their default values.
29 void ResetToDefaults();
30
31 // views::ButtonListener implementation:
32 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
33
34 protected:
35 // OptionsPageView implementation:
36 virtual void InitControlLayout();
37
38 private:
39 // Controls for the Advanced page
40 AdvancedScrollViewContainer* advanced_scroll_view_;
41 views::NativeButton* reset_to_default_button_;
42
43 DISALLOW_COPY_AND_ASSIGN(AdvancedPageView);
44 };
45
46 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/advanced_contents_view.cc ('k') | chrome/browser/ui/views/options/advanced_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698