summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorKurt Horimoto <kkhorimoto@chromium.org>2016-02-03 11:34:36 -0800
committerKurt Horimoto <kkhorimoto@chromium.org>2016-02-03 19:36:41 +0000
commit192d7f95497a407ef97c8357e3fef984285e90ca (patch)
treefece37f99a91b0ce876e7d7ab1efb3c9f6acab75 /ios
parent6fffdea2a3e9b531d08981cf55e571b885b68e1d (diff)
downloadchromium_src-192d7f95497a407ef97c8357e3fef984285e90ca.zip
chromium_src-192d7f95497a407ef97c8357e3fef984285e90ca.tar.gz
chromium_src-192d7f95497a407ef97c8357e3fef984285e90ca.tar.bz2
Revert "Add an accessibility notification when new suggestions are shown."
This reverts commit 1602a2c9d3bffb19087140f22ac0b9462144e8d5. This breaks VoiceOver as described in http://crbug.com/581813 BUG=581813 R=rohitrao@chromium.org,pkl@chromium.org Review URL: https://codereview.chromium.org/1640273003 Cr-Commit-Position: refs/heads/master@{#372191} (cherry picked from commit 51c10f2256cc81207fd494f31a56df23bf594ba5) Review URL: https://codereview.chromium.org/1663263002 . Cr-Commit-Position: refs/branch-heads/2623@{#265} Cr-Branched-From: 92d77538a86529ca35f9220bd3cd512cbea1f086-refs/heads/master@{#369907}
Diffstat (limited to 'ios')
-rw-r--r--ios/chrome/app/strings/ios_strings.grd3
-rw-r--r--ios/chrome/browser/autofill/form_input_accessory_view_controller.mm5
2 files changed, 0 insertions, 8 deletions
diff --git a/ios/chrome/app/strings/ios_strings.grd b/ios/chrome/app/strings/ios_strings.grd
index 0f33926..725f8bf 100644
--- a/ios/chrome/app/strings/ios_strings.grd
+++ b/ios/chrome/app/strings/ios_strings.grd
@@ -135,9 +135,6 @@ all other OS specific variables will be false.
Platform
</message>
- <message name="IDS_IOS_AUTOFILL_ACCNAME_SUGGESTIONS_AVAILABLE" desc="The description of the event provided when an accessibility notification is posted upon showing form suggestions. [Length: unlimited] [iOS only]">
- Suggestions available
- </message>
<message name="IDS_IOS_AUTOFILL_ACCNAME_HIDE_KEYBOARD" desc="The accessible name for the hide keyboard button in the keyboard accessory shown when filling out forms. [Length: unlimited] [iOS only]">
Hide keyboard
</message>
diff --git a/ios/chrome/browser/autofill/form_input_accessory_view_controller.mm b/ios/chrome/browser/autofill/form_input_accessory_view_controller.mm
index ed2f23b..f36b2fd 100644
--- a/ios/chrome/browser/autofill/form_input_accessory_view_controller.mm
+++ b/ios/chrome/browser/autofill/form_input_accessory_view_controller.mm
@@ -16,13 +16,11 @@
#import "ios/chrome/browser/autofill/form_suggestion_view.h"
#import "ios/chrome/browser/passwords/password_generation_utils.h"
#include "ios/chrome/browser/ui/ui_util.h"
-#include "ios/chrome/grit/ios_strings.h"
#include "ios/web/public/test/crw_test_js_injection_receiver.h"
#import "ios/web/public/url_scheme_util.h"
#import "ios/web/public/web_state/crw_web_view_proxy.h"
#include "ios/web/public/web_state/url_verification_constants.h"
#include "ios/web/public/web_state/web_state.h"
-#include "ui/base/l10n/l10n_util.h"
#include "url/gurl.h"
namespace autofill {
@@ -379,9 +377,6 @@ bool ComputeFramesOfKeyboardParts(UIView* inputAccessoryView,
[inputAccessoryView addSubview:_customAccessoryView];
}
}
- UIAccessibilityPostNotification(
- UIAccessibilityScreenChangedNotification,
- l10n_util::GetNSString(IDS_IOS_AUTOFILL_ACCNAME_PREVIOUS_FIELD));
}
- (void)restoreDefaultInputAccessoryView {