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

Unified Diff: ash/wm/panels/panel_layout_manager.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_selector_unittest.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_layout_manager.h
diff --git a/ash/wm/panels/panel_layout_manager.h b/ash/wm/panels/panel_layout_manager.h
index fc42af271aa3ca4e09b72ae5b56ab17c50f7365e..494d2c2ad0951e7b5468e9ba70f5e677c7acacaf 100644
--- a/ash/wm/panels/panel_layout_manager.h
+++ b/ash/wm/panels/panel_layout_manager.h
@@ -72,6 +72,9 @@ class ASH_EXPORT PanelLayoutManager
void ToggleMinimize(aura::Window* panel);
+ // Hide / Show the panel callout widgets.
+ void SetShowCalloutWidgets(bool show);
+
// Returns the callout widget (arrow) for |panel|.
views::Widget* GetCalloutWidgetForPanel(aura::Window* panel);
@@ -169,6 +172,8 @@ class ASH_EXPORT PanelLayoutManager
bool in_add_window_;
// Protect against recursive calls to Relayout().
bool in_layout_;
+ // Indicates if the panel callout widget should be created.
+ bool show_callout_widgets_;
// Ordered list of unowned pointers to panel windows.
PanelList panel_windows_;
// The panel being dragged.
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/panels/panel_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698