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

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

Issue 442893004: Remove useless DesktopWindowTreeHostWin::HandleTooltipMouseMove() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) = 0; 197 virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) = 0;
198 198
199 // Called to compel the delegate to paint using the software path. 199 // Called to compel the delegate to paint using the software path.
200 virtual void HandlePaint(gfx::Canvas* canvas) = 0; 200 virtual void HandlePaint(gfx::Canvas* canvas) = 0;
201 201
202 // Called to forward a WM_NOTIFY message to the tooltip manager. 202 // Called to forward a WM_NOTIFY message to the tooltip manager.
203 virtual bool HandleTooltipNotify(int w_param, 203 virtual bool HandleTooltipNotify(int w_param,
204 NMHDR* l_param, 204 NMHDR* l_param,
205 LRESULT* l_result) = 0; 205 LRESULT* l_result) = 0;
206 206
207 // Called to forward mouse events to the tooltip manager.
208 virtual void HandleTooltipMouseMove(UINT message,
209 WPARAM w_param,
210 LPARAM l_param) = 0;
211
212 // Invoked on entering/exiting a menu loop. 207 // Invoked on entering/exiting a menu loop.
213 virtual void HandleMenuLoop(bool in_menu_loop) = 0; 208 virtual void HandleMenuLoop(bool in_menu_loop) = 0;
214 209
215 // Catch-all message handling and filtering. Called before 210 // Catch-all message handling and filtering. Called before
216 // HWNDMessageHandler's built-in handling, which may pre-empt some 211 // HWNDMessageHandler's built-in handling, which may pre-empt some
217 // expectations in Views/Aura if messages are consumed. Returns true if the 212 // expectations in Views/Aura if messages are consumed. Returns true if the
218 // message was consumed by the delegate and should not be processed further 213 // message was consumed by the delegate and should not be processed further
219 // by the HWNDMessageHandler. In this case, |result| is returned. |result| is 214 // by the HWNDMessageHandler. In this case, |result| is returned. |result| is
220 // not modified otherwise. 215 // not modified otherwise.
221 virtual bool PreHandleMSG(UINT message, 216 virtual bool PreHandleMSG(UINT message,
(...skipping 14 matching lines...) Expand all
236 // Called when the window size is about to change. 231 // Called when the window size is about to change.
237 virtual void HandleWindowSizeChanging() = 0; 232 virtual void HandleWindowSizeChanging() = 0;
238 233
239 protected: 234 protected:
240 virtual ~HWNDMessageHandlerDelegate() {} 235 virtual ~HWNDMessageHandlerDelegate() {}
241 }; 236 };
242 237
243 } // namespace views 238 } // namespace views
244 239
245 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 240 #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