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/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" | |
16 #include "chrome/browser/chromeos/cros/cros_library.h" | 15 #include "chrome/browser/chromeos/cros/cros_library.h" |
17 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" | 16 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" |
18 #include "chrome/browser/extensions/extension_accessibility_api.h" | 17 #include "chrome/browser/extensions/extension_accessibility_api.h" |
19 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" | 18 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" |
20 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/profiles/profile_manager.h" | 20 #include "chrome/browser/profiles/profile_manager.h" |
22 #include "chrome/common/notification_registrar.h" | 21 #include "chrome/common/notification_registrar.h" |
23 #include "chrome/common/notification_service.h" | 22 #include "chrome/common/notification_service.h" |
24 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
25 | 24 |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 } else if (inserted.size() > 0) { | 437 } else if (inserted.size() > 0) { |
439 // Speak inserted text. | 438 // Speak inserted text. |
440 AppendUtterance(inserted, out_spoken_description); | 439 AppendUtterance(inserted, out_spoken_description); |
441 } else if (deleted.size() > 0) { | 440 } else if (deleted.size() > 0) { |
442 // Speak deleted text. | 441 // Speak deleted text. |
443 AppendUtterance(deleted, out_spoken_description); | 442 AppendUtterance(deleted, out_spoken_description); |
444 } | 443 } |
445 } | 444 } |
446 | 445 |
447 } // namespace chromeos | 446 } // namespace chromeos |
OLD | NEW |