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

Unified Diff: athena/home/public/home_card.h

Issue 394043002: athena: Add a minimized state for the home-card. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 5 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/home/minimized_home.cc ('k') | athena/wm/public/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/public/home_card.h
diff --git a/athena/home/public/home_card.h b/athena/home/public/home_card.h
index 795e8ffa58b55ea2fc121f90c2a6dbdde539c5ca..8658d367643dbb09e619caabbb6a06fc28a59101 100644
--- a/athena/home/public/home_card.h
+++ b/athena/home/public/home_card.h
@@ -30,6 +30,10 @@ class ATHENA_EXPORT HomeCard {
// HomeCard is visible smaller at the bottom of the screen as a supplemental
// widget.
VISIBLE_BOTTOM,
+
+ // HomeCard is minimized (i.e. a small UI element is displayed on screen
+ // that the user can interact with to bring up the BOTTOM or CENTERED view).
+ VISIBLE_MINIMIZED,
};
// Creates/deletes/gets the singleton object of the HomeCard
@@ -48,7 +52,8 @@ class ATHENA_EXPORT HomeCard {
virtual void RegisterSearchProvider(
app_list::SearchProvider* search_provider) = 0;
- // Called when the virtual keyboard changed has changed to |bounds|.
+ // Called when the virtual keyboard changed has changed to |bounds|. An empty
+ // |bounds| indicates that the virtual keyboard is not visible anymore.
virtual void UpdateVirtualKeyboardBounds(
const gfx::Rect& bounds) = 0;
};
« no previous file with comments | « athena/home/minimized_home.cc ('k') | athena/wm/public/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698