Remove unused function NotifyLocaleChanged()

In both aura and win this function is Not Implemented

BUG=

Review URL: https://codereview.chromium.org/126053002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243505 0039d316-1c4b-4281-b951-d872f2087c98
parent ea67cc39
...@@ -972,11 +972,6 @@ void NativeWidgetAura::SetInitialFocus() { ...@@ -972,11 +972,6 @@ void NativeWidgetAura::SetInitialFocus() {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Widget, public: // Widget, public:
// static
void Widget::NotifyLocaleChanged() {
// Deliberately not implemented.
}
namespace { namespace {
#if defined(OS_WIN) || (defined(USE_X11) && !defined(OS_CHROMEOS)) #if defined(OS_WIN) || (defined(USE_X11) && !defined(OS_CHROMEOS))
void CloseWindow(aura::Window* window) { void CloseWindow(aura::Window* window) {
......
...@@ -885,11 +885,6 @@ void NativeWidgetWin::SetInitParams(const Widget::InitParams& params) { ...@@ -885,11 +885,6 @@ void NativeWidgetWin::SetInitParams(const Widget::InitParams& params) {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Widget, public: // Widget, public:
// static
void Widget::NotifyLocaleChanged() {
NOTIMPLEMENTED();
}
namespace { namespace {
BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) { BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) {
Widget* widget = Widget::GetWidgetForNativeView(hwnd); Widget* widget = Widget::GetWidgetForNativeView(hwnd);
......
...@@ -265,11 +265,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, ...@@ -265,11 +265,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
static Widget* CreateWindowAsFramelessChild(WidgetDelegate* widget_delegate, static Widget* CreateWindowAsFramelessChild(WidgetDelegate* widget_delegate,
gfx::NativeView parent); gfx::NativeView parent);
// Enumerates all windows pertaining to us and notifies their
// view hierarchies that the locale has changed.
// TODO(beng): remove post-Aurafication of ChromeOS.
static void NotifyLocaleChanged();
// Closes all Widgets that aren't identified as "secondary widgets". Called // Closes all Widgets that aren't identified as "secondary widgets". Called
// during application shutdown when the last non-secondary widget is closed. // during application shutdown when the last non-secondary widget is closed.
static void CloseAllSecondaryWidgets(); static void CloseAllSecondaryWidgets();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment