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

Unified Diff: athena/wm/overview_toolbar.h

Issue 537073002: athena: Improve the overview mode support for split-view mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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 | « no previous file | athena/wm/overview_toolbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/overview_toolbar.h
diff --git a/athena/wm/overview_toolbar.h b/athena/wm/overview_toolbar.h
index a6fdb3b8415e1c59e84d249b7911b1b8d05a550e..937c35a3d19991e9a900175baeefbc988c068bbd 100644
--- a/athena/wm/overview_toolbar.h
+++ b/athena/wm/overview_toolbar.h
@@ -47,14 +47,18 @@ class OverviewToolbar {
void ShowActionButtons();
void HideActionButtons();
+ void DisableAction(ActionType action);
+
private:
void ToggleActionButtonsVisibility();
+ bool IsActionEnabled(ActionType action) const;
bool IsEventOverButton(ActionButton* button,
const ui::GestureEvent& event) const;
gfx::Transform ComputeTransformFor(ActionButton* button) const;
void TransformButton(ActionButton* button);
bool shown_;
+ uint64_t disabled_action_bitfields_;
scoped_ptr<ActionButton> close_;
scoped_ptr<ActionButton> split_;
ActionType current_action_;
« no previous file with comments | « no previous file | athena/wm/overview_toolbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698