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

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

Issue 10910144: Get mouse events to work with win aura, and make the combobox function in the views examples app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « ui/views/widget/desktop_root_window_host_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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // Synchronously paints the invalid contents of the Widget. 222 // Synchronously paints the invalid contents of the Widget.
223 void RedrawInvalidRect(); 223 void RedrawInvalidRect();
224 224
225 // Synchronously updates the invalid contents of the Widget. Valid for 225 // Synchronously updates the invalid contents of the Widget. Valid for
226 // layered windows only. 226 // layered windows only.
227 void RedrawLayeredWindowContents(); 227 void RedrawLayeredWindowContents();
228 228
229 229
230 // Message Handlers ---------------------------------------------------------- 230 // Message Handlers ----------------------------------------------------------
231 231
232 BEGIN_MSG_MAP_EX(NativeWidgetWin) 232 BEGIN_MSG_MAP_EX(HWNDMessageHandler)
233 // Range handlers must go first! 233 // Range handlers must go first!
234 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange) 234 MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange)
235 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange) 235 MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange)
236 236
237 // Reflected message handler 237 // Reflected message handler
238 MESSAGE_HANDLER_EX(base::win::kReflectedMessage, OnReflectedMessage) 238 MESSAGE_HANDLER_EX(base::win::kReflectedMessage, OnReflectedMessage)
239 239
240 // CustomFrameWindow hacks 240 // CustomFrameWindow hacks
241 MESSAGE_HANDLER_EX(WM_NCUAHDRAWCAPTION, OnNCUAHDrawCaption) 241 MESSAGE_HANDLER_EX(WM_NCUAHDRAWCAPTION, OnNCUAHDrawCaption)
242 MESSAGE_HANDLER_EX(WM_NCUAHDRAWFRAME, OnNCUAHDrawFrame) 242 MESSAGE_HANDLER_EX(WM_NCUAHDRAWFRAME, OnNCUAHDrawFrame)
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 // True if we are allowed to update the layered window from the DIB backing 457 // True if we are allowed to update the layered window from the DIB backing
458 // store if necessary. 458 // store if necessary.
459 bool can_update_layered_window_; 459 bool can_update_layered_window_;
460 460
461 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 461 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
462 }; 462 };
463 463
464 } // namespace views 464 } // namespace views
465 465
466 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 466 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_root_window_host_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698