Index: ash/launcher/launcher_util.h |
diff --git a/ash/launcher/launcher_util.h b/ash/launcher/launcher_util.h |
index 89551f064abdc76900d65593cdd9864112e7eea0..3bd96ae0b0c6855c99e78cdcdd9781f77c56f306 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 |
sky
2013/01/31 22:31:45
|maybe_panel|
oshima
2013/01/31 23:16:54
Done.
|
+// |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); |
stevenjb
2013/01/31 20:23:40
nit: I would consider either:
a) require maybe_pan
oshima
2013/01/31 20:37:41
I intentionally included if/panel logic so that as
|
+ |
} // namespace launcher |
} // namespace ash |