OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/i18n/char_iterator.h" | 9 #include "base/i18n/char_iterator.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
13 #include "chrome/browser/accessibility_events.h" | 13 #include "chrome/browser/accessibility_events.h" |
14 #include "chrome/browser/chromeos/accessibility_util.h" | 14 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
15 #include "chrome/browser/extensions/extension_accessibility_api.h" | 15 #include "chrome/browser/extensions/extension_accessibility_api.h" |
16 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" | 16 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" |
17 #include "chrome/browser/profiles/profile_manager.h" | 17 #include "chrome/browser/profiles/profile_manager.h" |
18 #include "chrome/common/chrome_notification_types.h" | 18 #include "chrome/common/chrome_notification_types.h" |
19 #include "content/public/browser/notification_details.h" | 19 #include "content/public/browser/notification_details.h" |
20 #include "content/public/browser/notification_source.h" | 20 #include "content/public/browser/notification_source.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "ui/base/l10n/l10n_util.h" | 22 #include "ui/base/l10n/l10n_util.h" |
23 | 23 |
24 namespace keys = extension_accessibility_api_constants; | 24 namespace keys = extension_accessibility_api_constants; |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 } else if (!inserted.empty()) { | 418 } else if (!inserted.empty()) { |
419 // Speak inserted text. | 419 // Speak inserted text. |
420 AppendUtterance(inserted, out_spoken_description); | 420 AppendUtterance(inserted, out_spoken_description); |
421 } else if (!deleted.empty()) { | 421 } else if (!deleted.empty()) { |
422 // Speak deleted text. | 422 // Speak deleted text. |
423 AppendUtterance(deleted, out_spoken_description); | 423 AppendUtterance(deleted, out_spoken_description); |
424 } | 424 } |
425 } | 425 } |
426 | 426 |
427 } // namespace chromeos | 427 } // namespace chromeos |
OLD | NEW |