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

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

Issue 10867096: Make HWNDMessageHandler subclass WindowImpl. (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/win/hwnd_message_handler.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_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 WPARAM w_param, 191 WPARAM w_param,
192 LPARAM l_param, 192 LPARAM l_param,
193 LRESULT* result) = 0; 193 LRESULT* result) = 0;
194 194
195 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling 195 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling
196 // has run and after DefWindowProc. 196 // has run and after DefWindowProc.
197 virtual void PostHandleMSG(UINT message, 197 virtual void PostHandleMSG(UINT message,
198 WPARAM w_param, 198 WPARAM w_param,
199 LPARAM l_param) = 0; 199 LPARAM l_param) = 0;
200 200
201 // This is provided for methods that need to call private methods on NWW.
202 // TODO(beng): should be removed once HWNDMessageHandler is the WindowImpl.
203 virtual NativeWidgetWin* AsNativeWidgetWin() = 0;
204
205 protected: 201 protected:
206 virtual ~HWNDMessageHandlerDelegate() {} 202 virtual ~HWNDMessageHandlerDelegate() {}
207 }; 203 };
208 204
209 } // namespace views 205 } // namespace views
210 206
211 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 207 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698