| Index: ui/app_list/views/app_list_item_view.cc
|
| diff --git a/ui/app_list/views/app_list_item_view.cc b/ui/app_list/views/app_list_item_view.cc
|
| index ff756cc2611eb5dab84acd033b832571af23d937..54eda7d62cb146bd2b46de6d5d2f45d6a2173db7 100644
|
| --- a/ui/app_list/views/app_list_item_view.cc
|
| +++ b/ui/app_list/views/app_list_item_view.cc
|
| @@ -47,7 +47,7 @@ const int kLeftRightPaddingChars = 1;
|
| const float kDraggingIconScale = 1.5f;
|
|
|
| // Delay in milliseconds of when the dragging UI should be shown for mouse drag.
|
| -const int kMouseDragUIDelayInMs = 100;
|
| +const int kMouseDragUIDelayInMs = 200;
|
|
|
| } // namespace
|
|
|
| @@ -127,7 +127,7 @@ void AppListItemView::UpdateIcon() {
|
| icon_shadows_));
|
| icon_->SetImage(shadow);
|
| return;
|
| - };
|
| + }
|
|
|
| icon_->SetImage(resized);
|
| }
|
| @@ -269,7 +269,6 @@ void AppListItemView::Layout() {
|
| gfx::Rect icon_bounds(rect.x(), y, rect.width(), icon_size_.height());
|
| icon_bounds.Inset(gfx::ShadowValue::GetMargin(icon_shadows_));
|
| icon_->SetBoundsRect(icon_bounds);
|
| -
|
| const gfx::Size title_size = title_->GetPreferredSize();
|
| gfx::Rect title_bounds(rect.x() + (rect.width() - title_size.width()) / 2,
|
| y + icon_size_.height() + kIconTitleSpacing,
|
| @@ -463,4 +462,8 @@ void AppListItemView::OnSyncDragEnd() {
|
| SetUIState(UI_STATE_NORMAL);
|
| }
|
|
|
| +const gfx::Rect& AppListItemView::GetIconBounds() const {
|
| + return icon_->bounds();
|
| +}
|
| +
|
| } // namespace app_list
|
|
|