Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: chrome/browser/accessibility/browser_accessibility_state.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/accessibility_events.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/accessibility/browser_accessibility_state.h" 5 #include "chrome/browser/accessibility/browser_accessibility_state.h"
6 #include "chrome/browser/profile.h" 6 #include "chrome/browser/profiles/profile.h"
7 7
8 BrowserAccessibilityState::BrowserAccessibilityState() 8 BrowserAccessibilityState::BrowserAccessibilityState()
9 : screen_reader_active_(false) { 9 : screen_reader_active_(false) {
10 } 10 }
11 11
12 BrowserAccessibilityState::~BrowserAccessibilityState() { 12 BrowserAccessibilityState::~BrowserAccessibilityState() {
13 } 13 }
14 14
15 void BrowserAccessibilityState::OnScreenReaderDetected() { 15 void BrowserAccessibilityState::OnScreenReaderDetected() {
16 screen_reader_active_ = true; 16 screen_reader_active_ = true;
17 } 17 }
18 18
19 bool BrowserAccessibilityState::IsAccessibleBrowser() { 19 bool BrowserAccessibilityState::IsAccessibleBrowser() {
20 return screen_reader_active_; 20 return screen_reader_active_;
21 } 21 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/accessibility_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698