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