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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.cc

Issue 8850004: Add a context field to the accessibility extension API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.cc (revision 114416)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.cc (working copy)
@@ -551,8 +551,11 @@
void LocationBarViewGtk::OnSetFocus() {
Profile* profile = browser_->profile();
- AccessibilityTextBoxInfo info(profile,
- l10n_util::GetStringUTF8(IDS_ACCNAME_LOCATION), false);
+ AccessibilityTextBoxInfo info(
+ profile,
+ l10n_util::GetStringUTF8(IDS_ACCNAME_LOCATION),
+ std::string(),
+ false);
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
content::Source<Profile>(profile),

Powered by Google App Engine
This is Rietveld 408576698