| 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" | 7 #include "chrome/browser/browser_process.h" |
| 8 #include "chrome/browser/metrics/user_metrics.h" | 8 #include "chrome/browser/metrics/user_metrics.h" |
| 9 #include "chrome/browser/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
| 10 #include "chrome/common/notification_service.h" | 10 #include "chrome/common/notification_service.h" |
| 11 #include "views/widget/widget.h" | 11 #include "views/widget/widget.h" |
| 12 | 12 |
| 13 /////////////////////////////////////////////////////////////////////////////// | 13 /////////////////////////////////////////////////////////////////////////////// |
| 14 // OptionsPageView | 14 // OptionsPageView |
| 15 | 15 |
| 16 OptionsPageView::OptionsPageView(Profile* profile) | 16 OptionsPageView::OptionsPageView(Profile* profile) |
| 17 : OptionsPageBase(profile), | 17 : OptionsPageBase(profile), |
| 18 initialized_(false) { | 18 initialized_(false) { |
| 19 } | 19 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 InitControlLayout(); | 34 InitControlLayout(); |
| 35 NotifyPrefChanged(NULL); | 35 NotifyPrefChanged(NULL); |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 bool OptionsPageView::GetAccessibleRole(AccessibilityTypes::Role* role) { | 39 bool OptionsPageView::GetAccessibleRole(AccessibilityTypes::Role* role) { |
| 40 *role = AccessibilityTypes::ROLE_PAGETAB; | 40 *role = AccessibilityTypes::ROLE_PAGETAB; |
| 41 return true; | 41 return true; |
| 42 } | 42 } |
| 43 | 43 |
| OLD | NEW |