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

Unified Diff: ash/wm/window_util.h

Issue 12442009: Minor Ash panel related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_launcher_delegate.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.h
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h
index 3eac811a1a0f044be45b19a36af2a1f55a2b0cab..63c2244e0e03a34971f58a4200d4652781771903 100644
--- a/ash/wm/window_util.h
+++ b/ash/wm/window_util.h
@@ -19,6 +19,7 @@ class Rect;
}
namespace ui {
+class Event;
class Layer;
}
@@ -124,6 +125,11 @@ ASH_EXPORT void AdjustBoundsToEnsureWindowVisibility(
int min_height,
gfx::Rect* bounds);
+// Move |window| to the root window where the |event| occured if it is not
+// already in the same root window.
+ASH_EXPORT void MoveWindowToEventRoot(aura::Window* window,
+ const ui::Event& event);
+
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/test/test_launcher_delegate.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698