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

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

Issue 136303008: Implement ui for re-parenting an item from an app list folder to another position or folder in the … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 6 years, 10 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 | « ui/app_list/views/app_list_folder_view.cc ('k') | ui/app_list/views/app_list_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1dd91b895c8471cfbf709002978d2d9e97febcf7..9a3a5c5ccc9cd7a4fb081ae0c696a5b545cdd537 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -64,6 +64,13 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
// Returns the icon bounds relative to AppListItemView.
const gfx::Rect& GetIconBounds() const;
+ // Sets UI state to dragging state.
+ void SetDragUIState();
+
+ // Returns the icon bounds for the given |target_bounds| as
+ // the assuming bounds of this view.
+ gfx::Rect GetIconBoundsForTargetViewBounds(const gfx::Rect& target_bounds);
+
private:
enum UIState {
UI_STATE_NORMAL, // Normal UI (icon + label)
« no previous file with comments | « ui/app_list/views/app_list_folder_view.cc ('k') | ui/app_list/views/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698