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

Unified Diff: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc

Issue 2575613002: Remove ShelfItemDelegate::IsDraggable; check for app list button. (Closed)
Patch Set: Address comments. Created 4 years 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: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
index 705cb2f9602383d78cd6574acb36f77d464ac6b0..ad03c18e8b05ce63863ce7bbe9848bb898187636 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
@@ -136,10 +136,6 @@ base::string16 AppWindowLauncherItemController::GetTitle() {
app_id());
}
-bool AppWindowLauncherItemController::IsDraggable() {
- return true;
-}
-
bool AppWindowLauncherItemController::CanPin() const {
return GetPinnableForAppID(app_id(), launcher_controller()->profile()) ==
AppListControllerDelegate::PIN_EDITABLE;

Powered by Google App Engine
This is Rietveld 408576698