| OLD | NEW |
| 1 // Copyright (c) 2011 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/ui/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" | |
| 9 #include "views/widget/widget.h" | 8 #include "views/widget/widget.h" |
| 10 | 9 |
| 11 /////////////////////////////////////////////////////////////////////////////// | 10 /////////////////////////////////////////////////////////////////////////////// |
| 12 // OptionsPageView | 11 // OptionsPageView |
| 13 | 12 |
| 14 OptionsPageView::OptionsPageView(Profile* profile) | 13 OptionsPageView::OptionsPageView(Profile* profile) |
| 15 : OptionsPageBase(profile), | 14 : OptionsPageBase(profile), |
| 16 initialized_(false) { | 15 initialized_(false) { |
| 17 } | 16 } |
| 18 | 17 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 // duplicating the view hierarchy when tabs are switched. | 29 // duplicating the view hierarchy when tabs are switched. |
| 31 initialized_ = true; | 30 initialized_ = true; |
| 32 InitControlLayout(); | 31 InitControlLayout(); |
| 33 NotifyPrefChanged(NULL); | 32 NotifyPrefChanged(NULL); |
| 34 } | 33 } |
| 35 } | 34 } |
| 36 | 35 |
| 37 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() { | 36 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() { |
| 38 return AccessibilityTypes::ROLE_PAGETAB; | 37 return AccessibilityTypes::ROLE_PAGETAB; |
| 39 } | 38 } |
| OLD | NEW |