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

Unified Diff: ui/views/widget/tooltip_manager_aura.cc

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/widget_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/tooltip_manager_aura.cc
===================================================================
--- ui/views/widget/tooltip_manager_aura.cc (revision 150582)
+++ ui/views/widget/tooltip_manager_aura.cc (working copy)
@@ -55,7 +55,7 @@
aura::RootWindow* root_window = window->GetRootWindow();
if (aura::client::GetTooltipClient(root_window)) {
gfx::Point view_point = root_window->GetLastMouseLocationInRoot();
- aura::Window::ConvertPointToWindow(root_window, window, &view_point);
+ aura::Window::ConvertPointToTarget(root_window, window, &view_point);
View* view = GetViewUnderPoint(view_point);
if (view) {
View::ConvertPointFromWidget(view, &view_point);
@@ -73,7 +73,7 @@
aura::RootWindow* root_window = window->GetRootWindow();
if (aura::client::GetTooltipClient(root_window)) {
gfx::Point view_point = root_window->GetLastMouseLocationInRoot();
- aura::Window::ConvertPointToWindow(root_window, window, &view_point);
+ aura::Window::ConvertPointToTarget(root_window, window, &view_point);
View* target = GetViewUnderPoint(view_point);
if (target != view)
return;
« no previous file with comments | « ui/views/widget/native_widget_aura_unittest.cc ('k') | ui/views/widget/widget_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698