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

Unified Diff: athena/home/home_card_impl.h

Issue 601333002: ESC accelerator and consistent overview mode for Athena homecard (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/home/home_card_impl.cc » ('j') | athena/home/home_card_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_impl.h
diff --git a/athena/home/home_card_impl.h b/athena/home/home_card_impl.h
index 12350952f18fc693c73a6d1864b6062ee48a809f..4a38b112aaebcdeac02af805251921a548d615ff 100644
--- a/athena/home/home_card_impl.h
+++ b/athena/home/home_card_impl.h
@@ -61,6 +61,7 @@ class ATHENA_EXPORT HomeCardImpl
COMMAND_SHOW_HOME_CARD,
};
void InstallAccelerators();
+ void SetStateAndOverview(HomeCard::State state);
// Overridden from HomeCard:
virtual void SetState(HomeCard::State state) OVERRIDE;
@@ -100,6 +101,8 @@ class ATHENA_EXPORT HomeCardImpl
// original_state_ is the state which the home card should go back to after
// the virtual keyboard is hidden.
HomeCard::State original_state_;
+ // state to set when overview mode enters or exits
+ HomeCard::State overview_state_;
views::Widget* home_card_widget_;
HomeCardView* home_card_view_;
« no previous file with comments | « no previous file | athena/home/home_card_impl.cc » ('j') | athena/home/home_card_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698