|
|
Remove ShelfItemDelegate::IsDraggable; check for app list button.
The only button that shouldn't be draggable is the app list.
(arc deferred items were incorrectly marked non-draggable)
Remove the item delegate function to simplify shelf view code.
Add test support for trying to drag the app list button.
Update and expand the related unit test.
BUG= 557406
TEST=Automated; no shelf dragging behavior changes.
R=jamescook@chromium.org
Committed: https://crrev.com/086f91b5d4636ea0680b0db2b5ff2ad67d52926d
Cr-Commit-Position: refs/heads/master@{#438614}
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+58 lines, -107 lines) |
Patch |
 |
M |
ash/common/shelf/app_list_shelf_item_delegate.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/app_list_shelf_item_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_controller.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_item_delegate.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_view.cc
|
View
|
1
|
4 chunks |
+7 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_window_watcher_item_delegate.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/shelf/shelf_window_watcher_item_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/common/test/test_shelf_item_delegate.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/common/test/test_shelf_item_delegate.cc
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shelf/shelf_view_unittest.cc
|
View
|
1
|
4 chunks |
+38 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ash/shell/window_watcher_shelf_item_delegate.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/window_watcher_shelf_item_delegate.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_view_test_api.h
|
View
|
1
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/test/shelf_view_test_api.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 16 (10 generated)
|