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

Unified Diff: ui/views/corewm/tooltip_controller.cc

Issue 23903056: Add a container window to host the desktop window hierarchy in AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/corewm/tooltip_controller.cc
===================================================================
--- ui/views/corewm/tooltip_controller.cc (revision 224198)
+++ ui/views/corewm/tooltip_controller.cc (working copy)
@@ -278,13 +278,8 @@
if (tooltip_window_)
tooltip_window_->RemoveObserver(this);
tooltip_window_ = target;
- if (tooltip_window_) {
+ if (tooltip_window_)
tooltip_window_->AddObserver(this);
- } else {
- // If the tooltip_window_ is reparented then we need to recreate the
- // tooltip to ensure that it shows up correctly.
- tooltip_.reset(NULL);
- }
}
curr_mouse_loc_ = event->location();
if (tooltip_timer_.IsRunning())
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc ('k') | ui/views/corewm/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698