OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/timer.h" | 10 #include "base/timer.h" |
12 #include "content/public/browser/browser_accessibility_state.h" | 11 #include "content/public/browser/browser_accessibility_state.h" |
13 | 12 |
14 // The BrowserAccessibilityState class is used to determine if Chrome should be | 13 // The BrowserAccessibilityState class is used to determine if Chrome should be |
15 // customized for users with assistive technology, such as screen readers. We | 14 // customized for users with assistive technology, such as screen readers. We |
16 // modify the behavior of certain user interfaces to provide a better experience | 15 // modify the behavior of certain user interfaces to provide a better experience |
17 // for screen reader users. The way we detect a screen reader program is | 16 // for screen reader users. The way we detect a screen reader program is |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // Set to true when full accessibility features should be enabled. | 49 // Set to true when full accessibility features should be enabled. |
51 bool accessibility_enabled_; | 50 bool accessibility_enabled_; |
52 | 51 |
53 // Timer to update the histogram a short while after startup. | 52 // Timer to update the histogram a short while after startup. |
54 base::OneShotTimer<BrowserAccessibilityStateImpl> update_histogram_timer_; | 53 base::OneShotTimer<BrowserAccessibilityStateImpl> update_histogram_timer_; |
55 | 54 |
56 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityStateImpl); | 55 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityStateImpl); |
57 }; | 56 }; |
58 | 57 |
59 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ | 58 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_STATE_IMPL_H_ |
OLD | NEW |