OLD | NEW |
| (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_CONTENTS_VIEW_H__ | |
6 #define CHROME_BROWSER_UI_VIEWS_OPTIONS_ADVANCED_CONTENTS_VIEW_H__ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/ui/views/options/options_page_view.h" | |
10 | |
11 class AdvancedContentsView; | |
12 namespace views { | |
13 class ScrollView; | |
14 } | |
15 | |
16 /////////////////////////////////////////////////////////////////////////////// | |
17 // AdvancedScrollViewContainer | |
18 // | |
19 // A View that contains a scroll view containing the Advanced options. | |
20 | |
21 class AdvancedScrollViewContainer : public views::View { | |
22 public: | |
23 explicit AdvancedScrollViewContainer(Profile* profile); | |
24 virtual ~AdvancedScrollViewContainer(); | |
25 | |
26 // views::View overrides: | |
27 virtual void Layout() OVERRIDE; | |
28 | |
29 private: | |
30 // The contents of the advanced scroll view. | |
31 AdvancedContentsView* contents_view_; | |
32 | |
33 // The scroll view that contains the advanced options. | |
34 views::ScrollView* scroll_view_; | |
35 | |
36 DISALLOW_COPY_AND_ASSIGN(AdvancedScrollViewContainer); | |
37 }; | |
38 | |
39 #endif // CHROME_BROWSER_UI_VIEWS_OPTIONS_ADVANCED_CONTENTS_VIEW_H__ | |
OLD | NEW |