summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/advanced_contents_view.h
blob: 8d62bf1410795ce0e15972fce48befa28abf180c (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
// 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_CONTENTS_VIEW_H__
#define CHROME_BROWSER_VIEWS_OPTIONS_ADVANCED_CONTENTS_VIEW_H__

#include "chrome/browser/views/options/options_page_view.h"

class AdvancedContentsView;
namespace views {
class ScrollView;
}

///////////////////////////////////////////////////////////////////////////////
// AdvancedScrollViewContainer
//
//  A View that contains a scroll view containing the Advanced options.

class AdvancedScrollViewContainer : public views::View {
 public:
  explicit AdvancedScrollViewContainer(Profile* profile);
  virtual ~AdvancedScrollViewContainer();

  // views::View overrides:
  virtual void Layout();

 private:
  // The contents of the advanced scroll view.
  AdvancedContentsView* contents_view_;

  // The scroll view that contains the advanced options.
  views::ScrollView* scroll_view_;

  DISALLOW_EVIL_CONSTRUCTORS(AdvancedScrollViewContainer);
};

#endif  // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_ADVANCED_CONTENTS_VIEW_H__