OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #include "chrome/browser/views/options/options_page_view.h" | 5 #include "chrome/browser/ui/views/options/options_page_view.h" |
6 | 6 |
7 #include "chrome/browser/metrics/user_metrics.h" | 7 #include "chrome/browser/metrics/user_metrics.h" |
8 #include "chrome/browser/prefs/pref_service.h" | 8 #include "chrome/browser/prefs/pref_service.h" |
9 #include "views/widget/widget.h" | 9 #include "views/widget/widget.h" |
10 | 10 |
11 /////////////////////////////////////////////////////////////////////////////// | 11 /////////////////////////////////////////////////////////////////////////////// |
12 // OptionsPageView | 12 // OptionsPageView |
13 | 13 |
14 OptionsPageView::OptionsPageView(Profile* profile) | 14 OptionsPageView::OptionsPageView(Profile* profile) |
15 : OptionsPageBase(profile), | 15 : OptionsPageBase(profile), |
(...skipping 14 matching lines...) Expand all Loading... |
30 // duplicating the view hierarchy when tabs are switched. | 30 // duplicating the view hierarchy when tabs are switched. |
31 initialized_ = true; | 31 initialized_ = true; |
32 InitControlLayout(); | 32 InitControlLayout(); |
33 NotifyPrefChanged(NULL); | 33 NotifyPrefChanged(NULL); |
34 } | 34 } |
35 } | 35 } |
36 | 36 |
37 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() { | 37 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() { |
38 return AccessibilityTypes::ROLE_PAGETAB; | 38 return AccessibilityTypes::ROLE_PAGETAB; |
39 } | 39 } |
OLD | NEW |