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

Side by Side Diff: ui/base/win/window_event_target.h

Issue 374283002: Remove the WM_SYSCOMMAND handling from the LegacyRenderWidgetHostHWND class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_BASE_WIN_WINDOW_EVENT_TARGET_H_ 5 #ifndef UI_BASE_WIN_WINDOW_EVENT_TARGET_H_
6 #define UI_BASE_WIN_WINDOW_EVENT_TARGET_H_ 6 #define UI_BASE_WIN_WINDOW_EVENT_TARGET_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Handles the WM_NCHITTEST message 67 // Handles the WM_NCHITTEST message
68 // The |message| parameter identifies the message. 68 // The |message| parameter identifies the message.
69 // The |w_param| and |l_param| values are as per MSDN docs. 69 // The |w_param| and |l_param| values are as per MSDN docs.
70 // The |handled| parameter is an output parameter which when set to false 70 // The |handled| parameter is an output parameter which when set to false
71 // indicates that the message should be DefProc'ed. 71 // indicates that the message should be DefProc'ed.
72 // Returns the result of processing the message. 72 // Returns the result of processing the message.
73 virtual LRESULT HandleNcHitTestMessage(unsigned int message, 73 virtual LRESULT HandleNcHitTestMessage(unsigned int message,
74 WPARAM w_param, 74 WPARAM w_param,
75 LPARAM l_param, 75 LPARAM l_param,
76 bool* handled) = 0; 76 bool* handled) = 0;
77
78 // Handles the WM_SYSCOMMAND message
79 // The |message| parameter identifies the message.
80 // The |w_param| and |l_param| values are as per MSDN docs.
81 // The |handled| parameter is an output parameter which when set to false
82 // indicates that the message should be DefProc'ed.
83 // Returns the result of processing the message.
84 virtual LRESULT HandleSysCommand(unsigned int message,
85 WPARAM w_param,
86 LPARAM l_param,
87 bool* handled) = 0;
88 protected: 77 protected:
89 WindowEventTarget(); 78 WindowEventTarget();
90 virtual ~WindowEventTarget(); 79 virtual ~WindowEventTarget();
91 }; 80 };
92 81
93 } // namespace ui 82 } // namespace ui
94 83
95 #endif // UI_BASE_WIN_WINDOW_EVENT_TARGET_H_ 84 #endif // UI_BASE_WIN_WINDOW_EVENT_TARGET_H_
96 85
97 86
OLDNEW
« no previous file with comments | « content/browser/renderer_host/legacy_render_widget_host_win.cc ('k') | ui/views/win/hwnd_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698