blob: a1313fffebc2b0120fcdea8ade243f46acf64c56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
#define CHROME_BROWSER_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
#include "chrome/browser/views/options/options_page_view.h"
#include "chrome/views/native_button.h"
class AdvancedOptionsListModel;
class AdvancedScrollViewContainer;
class PrefService;
///////////////////////////////////////////////////////////////////////////////
// AdvancedPageView
class AdvancedPageView : public OptionsPageView,
public ChromeViews::NativeButton::Listener {
public:
explicit AdvancedPageView(Profile* profile);
virtual ~AdvancedPageView();
// Resets all prefs to their default values.
void ResetToDefaults();
// ChromeViews::NativeButton::Listener implementation:
virtual void ButtonPressed(ChromeViews::NativeButton* sender);
protected:
// OptionsPageView implementation:
virtual void InitControlLayout();
private:
// Controls for the Advanced page
AdvancedScrollViewContainer* advanced_scroll_view_;
ChromeViews::NativeButton* reset_to_default_button_;
DISALLOW_EVIL_CONSTRUCTORS(AdvancedPageView);
};
#endif // CHROME_BROWSER_VIEWS_OPTIONS_ADVANCED_PAGE_VIEW_H_
|