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

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

Issue 109403008: Disables showing tooltips while a system menu is showing on windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move resetting 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 | Annotate | Revision Log
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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698