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

Unified Diff: ui/app_list/views/app_list_item_view.h

Issue 140203003: Implement animation UI for opening/closing an app list folder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
Index: ui/app_list/views/app_list_item_view.h
diff --git a/ui/app_list/views/app_list_item_view.h b/ui/app_list/views/app_list_item_view.h
index 5a140c480509c90e70698285d2a1be667642dbc6..1dd91b895c8471cfbf709002978d2d9e97febcf7 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -61,6 +61,9 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
// ending, so the runner of the drag should call this.
void OnSyncDragEnd();
+ // Returns the icon bounds relative to AppListItemView.
+ const gfx::Rect& GetIconBounds() const;
+
private:
enum UIState {
UI_STATE_NORMAL, // Normal UI (icon + label)

Powered by Google App Engine
This is Rietveld 408576698