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

Unified Diff: ash/wm/overview/window_selector_panels.h

Issue 327873005: Fixed panel callout widgets showing up in the overview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed last nits. Created 6 years, 6 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/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_panels.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_panels.h
diff --git a/ash/wm/overview/window_selector_panels.h b/ash/wm/overview/window_selector_panels.h
index 7d2131c4892b1d925ed5623d30e4dd4f00337190..b3ea49f61532a1ee974510a84e4c4e6c6dabfabb 100644
--- a/ash/wm/overview/window_selector_panels.h
+++ b/ash/wm/overview/window_selector_panels.h
@@ -20,7 +20,7 @@ class ScopedTransformOverviewWindow;
// overview mode and the callout arrows are hidden at this point.
class WindowSelectorPanels : public WindowSelectorItem {
public:
- WindowSelectorPanels();
+ explicit WindowSelectorPanels(aura::Window* panels_root_window);
virtual ~WindowSelectorPanels();
// Adds |window| to the selector item. This window should be an attached
@@ -44,6 +44,9 @@ class WindowSelectorPanels : public WindowSelectorItem {
typedef ScopedVector<ScopedTransformOverviewWindow> WindowList;
WindowList transform_windows_;
+ // The root window of the panels this item contains.
+ aura::Window* panels_root_window_;
+
DISALLOW_COPY_AND_ASSIGN(WindowSelectorPanels);
};
« no previous file with comments | « ash/wm/overview/window_grid.cc ('k') | ash/wm/overview/window_selector_panels.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698