Index: ash/launcher/launcher_util.h |
diff --git a/ash/launcher/launcher_util.h b/ash/launcher/launcher_util.h |
index 89551f064abdc76900d65593cdd9864112e7eea0..7cdd1f283e25599af5361c08368021e05427fc71 100644 |
--- a/ash/launcher/launcher_util.h |
+++ b/ash/launcher/launcher_util.h |
@@ -7,6 +7,14 @@ |
#include "ash/ash_export.h" |
+namespace aura { |
+class Window; |
+} |
+ |
+namespace ui { |
+class Event; |
+} |
+ |
namespace ash { |
class LauncherModel; |
@@ -15,6 +23,12 @@ namespace launcher { |
// Return the index of the browser item from a given |launcher_model|. |
ASH_EXPORT int GetBrowserItemIndex(const LauncherModel& launcher_model); |
+// Move the |maybe_panel| to the root window where the |event| occured if |
+// |maybe_panel| is of aura::client::WINDOW_TYPE_PANEL and it's not |
+// in the same root window. |
+ASH_EXPORT void MoveToEventRootIfPanel(aura::Window* maybe_panel, |
+ const ui::Event& event); |
+ |
} // namespace launcher |
} // namespace ash |