OLD | NEW |
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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 return false; | 845 return false; |
846 } | 846 } |
847 | 847 |
848 void NativeWidgetWin::HandleTooltipMouseMove(UINT message, | 848 void NativeWidgetWin::HandleTooltipMouseMove(UINT message, |
849 WPARAM w_param, | 849 WPARAM w_param, |
850 LPARAM l_param) { | 850 LPARAM l_param) { |
851 if (tooltip_manager_.get()) | 851 if (tooltip_manager_.get()) |
852 tooltip_manager_->OnMouse(message, w_param, l_param); | 852 tooltip_manager_->OnMouse(message, w_param, l_param); |
853 } | 853 } |
854 | 854 |
| 855 void NativeWidgetWin::HandleMenuLoop(bool in_menu_loop) { |
| 856 } |
| 857 |
855 bool NativeWidgetWin::PreHandleMSG(UINT message, | 858 bool NativeWidgetWin::PreHandleMSG(UINT message, |
856 WPARAM w_param, | 859 WPARAM w_param, |
857 LPARAM l_param, | 860 LPARAM l_param, |
858 LRESULT* result) { | 861 LRESULT* result) { |
859 return false; | 862 return false; |
860 } | 863 } |
861 | 864 |
862 void NativeWidgetWin::PostHandleMSG(UINT message, | 865 void NativeWidgetWin::PostHandleMSG(UINT message, |
863 WPARAM w_param, | 866 WPARAM w_param, |
864 LPARAM l_param) { | 867 LPARAM l_param) { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 // static | 1058 // static |
1056 bool NativeWidgetPrivate::IsTouchDown() { | 1059 bool NativeWidgetPrivate::IsTouchDown() { |
1057 // This currently isn't necessary because we're not generating touch events on | 1060 // This currently isn't necessary because we're not generating touch events on |
1058 // windows. When we do, this will need to be updated. | 1061 // windows. When we do, this will need to be updated. |
1059 return false; | 1062 return false; |
1060 } | 1063 } |
1061 | 1064 |
1062 } // namespace internal | 1065 } // namespace internal |
1063 | 1066 |
1064 } // namespace views | 1067 } // namespace views |
OLD | NEW |