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

Unified Diff: athena/wm/window_manager_impl.h

Issue 635223004: Refactor SetInOverview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix error Created 6 years, 2 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 | « athena/wm/public/window_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_manager_impl.h
diff --git a/athena/wm/window_manager_impl.h b/athena/wm/window_manager_impl.h
index 2edd856d230cf0d475f32d75286af3db0c8c175c..05f881191a2f005a19369c97efed6fe5b6fd8f94 100644
--- a/athena/wm/window_manager_impl.h
+++ b/athena/wm/window_manager_impl.h
@@ -42,7 +42,9 @@ class ATHENA_EXPORT WindowManagerImpl : public WindowManager,
void ToggleSplitView();
// WindowManager:
- virtual void ToggleOverview() override;
+ virtual void EnterOverview() override;
+ // Exits overview and activates the previously active activity
+ virtual void ExitOverview() override;
virtual bool IsOverviewModeActive() override;
private:
@@ -54,8 +56,9 @@ class ATHENA_EXPORT WindowManagerImpl : public WindowManager,
CMD_TOGGLE_SPLIT_VIEW,
};
- // Sets whether overview mode is active.
- void SetInOverview(bool active);
+ // Exits overview mode without changing activation. The caller should
+ // ensure that a window is active after exiting overview mode.
+ void ExitOverviewNoActivate();
void InstallAccelerators();
« no previous file with comments | « athena/wm/public/window_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698