Index: ui/views/widget/native_widget_aura.cc |
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc |
index b13182d9624edb7521635cad865df163d09e5349..4ad58269d2d0747ea1e151d012ee1caf2fb5338d 100644 |
--- a/ui/views/widget/native_widget_aura.cc |
+++ b/ui/views/widget/native_widget_aura.cc |
@@ -60,6 +60,18 @@ aura::WindowType GetAuraWindowTypeForWidgetType(Widget::InitParams::Type type) { |
} |
} |
+void NotifyLocaleChangedInternal(aura::Window* window) { |
+ Widget* widget = Widget::GetWidgetForNativeWindow(window); |
+ if (widget) |
+ widget->LocaleChanged(); |
+ |
+ const aura::Window::Windows& children = window->children(); |
+ for (aura::Window::Windows::const_iterator it = children.begin(); |
+ it != children.end(); ++it) { |
+ NotifyLocaleChangedInternal(*it); |
+ } |
+} |
+ |
} // namespace |
// Used when SetInactiveRenderingDisabled() is invoked to track when active |
@@ -689,8 +701,7 @@ int NativeWidgetAura::OnPerformDrop(const aura::DropTargetEvent& event) { |
// static |
void Widget::NotifyLocaleChanged() { |
- // http://crbug.com/102574 |
- NOTIMPLEMENTED(); |
+ NotifyLocaleChangedInternal(aura::RootWindow::GetInstance()); |
} |
// static |