| OLD | NEW |
| 1 // Copyright (c) 2010 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/gtk/accessible_widget_helper_gtk.h" | 5 #include "chrome/browser/gtk/accessible_widget_helper_gtk.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "chrome/browser/accessibility_events.h" | 8 #include "chrome/browser/accessibility_events.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/common/notification_service.h" | 10 #include "chrome/common/notification_service.h" |
| 11 | 11 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 } | 57 } |
| 58 | 58 |
| 59 accessibility_event_router_->AddWidgetNameOverride(widget, name); | 59 accessibility_event_router_->AddWidgetNameOverride(widget, name); |
| 60 managed_widgets_.insert(widget); | 60 managed_widgets_.insert(widget); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void AccessibleWidgetHelper::SetWidgetName( | 63 void AccessibleWidgetHelper::SetWidgetName( |
| 64 GtkWidget* widget, int string_id) { | 64 GtkWidget* widget, int string_id) { |
| 65 SetWidgetName(widget, l10n_util::GetStringUTF8(string_id)); | 65 SetWidgetName(widget, l10n_util::GetStringUTF8(string_id)); |
| 66 } | 66 } |
| OLD | NEW |