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

Side by Side Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 1428213004: This CL replaces std::string user_id in ash/* with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 1 month 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/session/session_state_observer.h" 10 #include "ash/session/session_state_observer.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Enables or disables the virtual keyboard. 157 // Enables or disables the virtual keyboard.
158 void EnableVirtualKeyboard(bool enabled); 158 void EnableVirtualKeyboard(bool enabled);
159 // Returns true if the virtual keyboard is enabled, otherwise false. 159 // Returns true if the virtual keyboard is enabled, otherwise false.
160 bool IsVirtualKeyboardEnabled(); 160 bool IsVirtualKeyboardEnabled();
161 161
162 // Returns true if a braille display is connected to the system, otherwise 162 // Returns true if a braille display is connected to the system, otherwise
163 // false. 163 // false.
164 bool IsBrailleDisplayConnected() const; 164 bool IsBrailleDisplayConnected() const;
165 165
166 // SessionStateObserver overrides: 166 // SessionStateObserver overrides:
167 void ActiveUserChanged(const std::string& user_id) override; 167 void ActiveUserChanged(const AccountId& account_id) override;
168 168
169 // ShellObserver overrides: 169 // ShellObserver overrides:
170 void OnAppTerminating() override; 170 void OnAppTerminating() override;
171 171
172 void SetProfileForTest(Profile* profile); 172 void SetProfileForTest(Profile* profile);
173 173
174 static void SetBrailleControllerForTest( 174 static void SetBrailleControllerForTest(
175 extensions::api::braille_display_private::BrailleController* controller); 175 extensions::api::braille_display_private::BrailleController* controller);
176 176
177 // Enables/disables system sounds. 177 // Enables/disables system sounds.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 bool braille_ime_current_; 294 bool braille_ime_current_;
295 295
296 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_; 296 base::WeakPtrFactory<AccessibilityManager> weak_ptr_factory_;
297 297
298 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager); 298 DISALLOW_COPY_AND_ASSIGN(AccessibilityManager);
299 }; 299 };
300 300
301 } // namespace chromeos 301 } // namespace chromeos
302 302
303 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_ 303 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_ACCESSIBILITY_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/test/test_session_state_delegate.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698