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) |