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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 14103017: Ignore HTCLIENT in HWNDMessageHandler::OnSetCursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index 195e8c14f3939e268e1141bc44959124e6885388..73b9f65c438524513bcea21ee478b0c1cc70de2f 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -1871,6 +1871,9 @@ LRESULT HWNDMessageHandler::OnSetCursor(UINT message,
case HTBOTTOMLEFT:
cursor = IDC_SIZENESW;
break;
+ case HTCLIENT:
+ // Client-area mouse events set the proper cursor from View::GetCursor.
+ return 0;
default:
// Use the default value, IDC_ARROW.
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698