Commit ad682190 authored by pkotwicz@chromium.org's avatar pkotwicz@chromium.org

Remove useless DesktopWindowTreeHostWin::HandleTooltipMouseMove()

BUG=None
TEST=None
TBR=sky

Review URL: https://codereview.chromium.org/442893004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287730 0039d316-1c4b-4281-b951-d872f2087c98
parent 4346a217
...@@ -863,13 +863,6 @@ bool DesktopWindowTreeHostWin::HandleTooltipNotify(int w_param, ...@@ -863,13 +863,6 @@ bool DesktopWindowTreeHostWin::HandleTooltipNotify(int w_param,
return tooltip_ && tooltip_->HandleNotify(w_param, l_param, l_result); return tooltip_ && tooltip_->HandleNotify(w_param, l_param, l_result);
} }
void DesktopWindowTreeHostWin::HandleTooltipMouseMove(UINT message,
WPARAM w_param,
LPARAM l_param) {
// TooltipWin implementation doesn't need this.
// TODO(sky): remove from HWNDMessageHandler once non-aura path nuked.
}
void DesktopWindowTreeHostWin::HandleMenuLoop(bool in_menu_loop) { void DesktopWindowTreeHostWin::HandleMenuLoop(bool in_menu_loop) {
if (in_menu_loop) { if (in_menu_loop) {
tooltip_disabler_.reset( tooltip_disabler_.reset(
......
...@@ -191,9 +191,6 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin ...@@ -191,9 +191,6 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin
virtual bool HandleTooltipNotify(int w_param, virtual bool HandleTooltipNotify(int w_param,
NMHDR* l_param, NMHDR* l_param,
LRESULT* l_result) OVERRIDE; LRESULT* l_result) OVERRIDE;
virtual void HandleTooltipMouseMove(UINT message,
WPARAM w_param,
LPARAM l_param) OVERRIDE;
virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE; virtual void HandleMenuLoop(bool in_menu_loop) OVERRIDE;
virtual bool PreHandleMSG(UINT message, virtual bool PreHandleMSG(UINT message,
WPARAM w_param, WPARAM w_param,
......
...@@ -2386,9 +2386,6 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message, ...@@ -2386,9 +2386,6 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
if (IsSynthesizedMouseMessage(message, message_time, l_param)) if (IsSynthesizedMouseMessage(message, message_time, l_param))
event.set_flags(event.flags() | ui::EF_FROM_TOUCH); event.set_flags(event.flags() | ui::EF_FROM_TOUCH);
if (!(event.flags() & ui::EF_IS_NON_CLIENT))
delegate_->HandleTooltipMouseMove(message, w_param, l_param);
if (event.type() == ui::ET_MOUSE_MOVED && !HasCapture() && track_mouse) { if (event.type() == ui::ET_MOUSE_MOVED && !HasCapture() && track_mouse) {
// Windows only fires WM_MOUSELEAVE events if the application begins // Windows only fires WM_MOUSELEAVE events if the application begins
// "tracking" mouse events for a given HWND during WM_MOUSEMOVE events. // "tracking" mouse events for a given HWND during WM_MOUSEMOVE events.
......
...@@ -204,11 +204,6 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate { ...@@ -204,11 +204,6 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
NMHDR* l_param, NMHDR* l_param,
LRESULT* l_result) = 0; LRESULT* l_result) = 0;
// Called to forward mouse events to the tooltip manager.
virtual void HandleTooltipMouseMove(UINT message,
WPARAM w_param,
LPARAM l_param) = 0;
// Invoked on entering/exiting a menu loop. // Invoked on entering/exiting a menu loop.
virtual void HandleMenuLoop(bool in_menu_loop) = 0; virtual void HandleMenuLoop(bool in_menu_loop) = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment