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

Side by Side Diff: ui/views/corewm/tooltip_win.cc

Issue 213833018: Aura tooltips do not move on mouse move in case of many neighboring views with the same label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Write unit test for the case when a tooltip moves from one view to another with the same tooltip bu… Created 6 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ui/views/corewm/tooltip_win.h" 5 #include "ui/views/corewm/tooltip_win.h"
6 6
7 #include <winuser.h> 7 #include <winuser.h>
8 8
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return; 144 return;
145 145
146 SendMessage(tooltip_hwnd_, TTM_TRACKACTIVATE, FALSE, 146 SendMessage(tooltip_hwnd_, TTM_TRACKACTIVATE, FALSE,
147 reinterpret_cast<LPARAM>(&toolinfo_)); 147 reinterpret_cast<LPARAM>(&toolinfo_));
148 } 148 }
149 149
150 bool TooltipWin::IsVisible() { 150 bool TooltipWin::IsVisible() {
151 return showing_; 151 return showing_;
152 } 152 }
153 153
154 gfx::Point TooltipWin::GetTooltipPosition() {
155 return location_;
156 }
157
154 } // namespace corewm 158 } // namespace corewm
155 } // namespace views 159 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698