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

Side by Side Diff: chrome/browser/chromeos/login/wizard_accessibility_handler.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
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/chromeos/login/wizard_accessibility_handler.h" 5 #include "chrome/browser/chromeos/login/wizard_accessibility_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/i18n/char_iterator.h" 10 #include "base/i18n/char_iterator.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "chrome/browser/accessibility_events.h" 14 #include "chrome/browser/accessibility_events.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/chromeos/cros/cros_library.h" 16 #include "chrome/browser/chromeos/cros/cros_library.h"
17 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" 17 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
18 #include "chrome/browser/extensions/extension_accessibility_api.h" 18 #include "chrome/browser/extensions/extension_accessibility_api.h"
19 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" 19 #include "chrome/browser/extensions/extension_accessibility_api_constants.h"
20 #include "chrome/browser/profile.h" 20 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/browser/profile_manager.h" 21 #include "chrome/browser/profiles/profile_manager.h"
22 #include "chrome/common/notification_registrar.h" 22 #include "chrome/common/notification_registrar.h"
23 #include "chrome/common/notification_service.h" 23 #include "chrome/common/notification_service.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
25 25
26 namespace keys = extension_accessibility_api_constants; 26 namespace keys = extension_accessibility_api_constants;
27 27
28 namespace { 28 namespace {
29 29
30 static std::string SubstringUTF8(std::string str, int start, int len) { 30 static std::string SubstringUTF8(std::string str, int start, int len) {
31 base::UTF8CharIterator iter(&str); 31 base::UTF8CharIterator iter(&str);
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } else if (inserted.size() > 0) { 438 } else if (inserted.size() > 0) {
439 // Speak inserted text. 439 // Speak inserted text.
440 AppendUtterance(inserted, out_spoken_description); 440 AppendUtterance(inserted, out_spoken_description);
441 } else if (deleted.size() > 0) { 441 } else if (deleted.size() > 0) {
442 // Speak deleted text. 442 // Speak deleted text.
443 AppendUtterance(deleted, out_spoken_description); 443 AppendUtterance(deleted, out_spoken_description);
444 } 444 }
445 } 445 }
446 446
447 } // namespace chromeos 447 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_image_view.cc ('k') | chrome/browser/chromeos/login/wizard_accessibility_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698