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

Side by Side Diff: ui/views/widget/native_widget_win.cc

Issue 126053002: Remove unused function NotifyLocaleChanged() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/widget/native_widget_win.h" 5 #include "ui/views/widget/native_widget_win.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 GetWidget()->widget_delegate(), delegate_); 875 GetWidget()->widget_delegate(), delegate_);
876 876
877 has_non_client_view_ = Widget::RequiresNonClientView(params.type); 877 has_non_client_view_ = Widget::RequiresNonClientView(params.type);
878 message_handler_->set_remove_standard_frame(params.remove_standard_frame); 878 message_handler_->set_remove_standard_frame(params.remove_standard_frame);
879 message_handler_->set_use_system_default_icon(params.use_system_default_icon); 879 message_handler_->set_use_system_default_icon(params.use_system_default_icon);
880 } 880 }
881 881
882 //////////////////////////////////////////////////////////////////////////////// 882 ////////////////////////////////////////////////////////////////////////////////
883 // Widget, public: 883 // Widget, public:
884 884
885 // static
886 void Widget::NotifyLocaleChanged() {
887 NOTIMPLEMENTED();
888 }
889
890 namespace { 885 namespace {
891 BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) { 886 BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) {
892 Widget* widget = Widget::GetWidgetForNativeView(hwnd); 887 Widget* widget = Widget::GetWidgetForNativeView(hwnd);
893 if (widget && widget->is_secondary_widget()) 888 if (widget && widget->is_secondary_widget())
894 widget->Close(); 889 widget->Close();
895 return TRUE; 890 return TRUE;
896 } 891 }
897 } // namespace 892 } // namespace
898 893
899 // static 894 // static
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 // static 1050 // static
1056 bool NativeWidgetPrivate::IsTouchDown() { 1051 bool NativeWidgetPrivate::IsTouchDown() {
1057 // This currently isn't necessary because we're not generating touch events on 1052 // This currently isn't necessary because we're not generating touch events on
1058 // windows. When we do, this will need to be updated. 1053 // windows. When we do, this will need to be updated.
1059 return false; 1054 return false;
1060 } 1055 }
1061 1056
1062 } // namespace internal 1057 } // namespace internal
1063 1058
1064 } // namespace views 1059 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698