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

Side by Side Diff: ui/views/win/hwnd_message_handler.h

Issue 12221144: Make zoom using ctrl+mouse wheel work in win aura. Windows -non-aura had a hack that was a layering… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | no next file » | 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 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlmisc.h> 10 #include <atlmisc.h>
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void RedrawLayeredWindowContents(); 228 void RedrawLayeredWindowContents();
229 229
230 230
231 // Message Handlers ---------------------------------------------------------- 231 // Message Handlers ----------------------------------------------------------
232 232
233 BEGIN_MSG_MAP_EX(HWNDMessageHandler) 233 BEGIN_MSG_MAP_EX(HWNDMessageHandler)
234 // Range handlers must go first! 234 // Range handlers must go first!
235 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange) 235 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange)
236 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange) 236 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange)
237 237
238 // Reflected message handler
239 MESSAGE_HANDLER_EX(base::win::kReflectedMessage, OnReflectedMessage)
240
241 // CustomFrameWindow hacks 238 // CustomFrameWindow hacks
242 MESSAGE_HANDLER_EX(WM_NCUAHDRAWCAPTION, OnNCUAHDrawCaption) 239 MESSAGE_HANDLER_EX(WM_NCUAHDRAWCAPTION, OnNCUAHDrawCaption)
243 MESSAGE_HANDLER_EX(WM_NCUAHDRAWFRAME, OnNCUAHDrawFrame) 240 MESSAGE_HANDLER_EX(WM_NCUAHDRAWFRAME, OnNCUAHDrawFrame)
244 241
245 // Vista and newer 242 // Vista and newer
246 MESSAGE_HANDLER_EX(WM_DWMCOMPOSITIONCHANGED, OnDwmCompositionChanged) 243 MESSAGE_HANDLER_EX(WM_DWMCOMPOSITIONCHANGED, OnDwmCompositionChanged)
247 244
248 // Non-atlcrack.h handlers 245 // Non-atlcrack.h handlers
249 MESSAGE_HANDLER_EX(WM_GETOBJECT, OnGetObject) 246 MESSAGE_HANDLER_EX(WM_GETOBJECT, OnGetObject)
250 247
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 460
464 // True the first time nccalc is called on a sizable widget 461 // True the first time nccalc is called on a sizable widget
465 bool is_first_nccalc_; 462 bool is_first_nccalc_;
466 463
467 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 464 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
468 }; 465 };
469 466
470 } // namespace views 467 } // namespace views
471 468
472 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 469 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698