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

Side by Side Diff: ui/views/win/hwnd_message_handler.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
« no previous file with comments | « ui/base/win/window_event_target.h ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | 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 <windows.h> 8 #include <windows.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 virtual LRESULT HandleScrollMessage(unsigned int message, 232 virtual LRESULT HandleScrollMessage(unsigned int message,
233 WPARAM w_param, 233 WPARAM w_param,
234 LPARAM l_param, 234 LPARAM l_param,
235 bool* handled) OVERRIDE; 235 bool* handled) OVERRIDE;
236 236
237 virtual LRESULT HandleNcHitTestMessage(unsigned int message, 237 virtual LRESULT HandleNcHitTestMessage(unsigned int message,
238 WPARAM w_param, 238 WPARAM w_param,
239 LPARAM l_param, 239 LPARAM l_param,
240 bool* handled) OVERRIDE; 240 bool* handled) OVERRIDE;
241 241
242 virtual LRESULT HandleSysCommand(unsigned int message,
243 WPARAM w_param,
244 LPARAM l_param,
245 bool* handled);
246
247 // Returns the auto-hide edges of the appbar. See 242 // Returns the auto-hide edges of the appbar. See
248 // ViewsDelegate::GetAppbarAutohideEdges() for details. If the edges change, 243 // ViewsDelegate::GetAppbarAutohideEdges() for details. If the edges change,
249 // OnAppbarAutohideEdgesChanged() is called. 244 // OnAppbarAutohideEdgesChanged() is called.
250 int GetAppbarAutohideEdges(HMONITOR monitor); 245 int GetAppbarAutohideEdges(HMONITOR monitor);
251 246
252 // Callback if the autohide edges have changed. See 247 // Callback if the autohide edges have changed. See
253 // ViewsDelegate::GetAppbarAutohideEdges() for details. 248 // ViewsDelegate::GetAppbarAutohideEdges() for details.
254 void OnAppbarAutohideEdgesChanged(); 249 void OnAppbarAutohideEdgesChanged();
255 250
256 // Can be called after the delegate has had the opportunity to set focus and 251 // Can be called after the delegate has had the opportunity to set focus and
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 // Time the last WM_MOUSEHWHEEL message is received. Please refer to the 611 // Time the last WM_MOUSEHWHEEL message is received. Please refer to the
617 // HandleMouseEventInternal function as to why this is needed. 612 // HandleMouseEventInternal function as to why this is needed.
618 long last_mouse_hwheel_time_; 613 long last_mouse_hwheel_time_;
619 614
620 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); 615 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
621 }; 616 };
622 617
623 } // namespace views 618 } // namespace views
624 619
625 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ 620 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « ui/base/win/window_event_target.h ('k') | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698