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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_position_client.cc

Issue 290573003: Make tooltips toplevel windows on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/widget/desktop_aura/desktop_screen_position_client.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
index 1f455ecc74db5535b66f956ebed787d6480cc70f..2712ac87865a531e3e8a8966e915735ee472bf38 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
@@ -27,8 +27,7 @@ gfx::Point GetOrigin(const aura::Window* root_window) {
// Returns true if bounds passed to window are treated as though they are in
// screen coordinates.
bool PositionWindowInScreenCoordinates(aura::Window* window) {
- if (window->type() == ui::wm::WINDOW_TYPE_POPUP ||
- window->type() == ui::wm::WINDOW_TYPE_TOOLTIP)
+ if (window->type() == ui::wm::WINDOW_TYPE_POPUP)
return true;
Widget* widget = Widget::GetWidgetForNativeView(window);

Powered by Google App Engine
This is Rietveld 408576698