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

Unified Diff: ash/shelf/app_list_shelf_item_delegate.h

Issue 2169533002: mash: Migrate shelf app list button to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « ash/shelf/app_list_button.cc ('k') | ash/shelf/app_list_shelf_item_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/app_list_shelf_item_delegate.h
diff --git a/ash/shelf/app_list_shelf_item_delegate.h b/ash/shelf/app_list_shelf_item_delegate.h
deleted file mode 100644
index b4d6c3f1fafbdfd89af0512bc03337fc06577b43..0000000000000000000000000000000000000000
--- a/ash/shelf/app_list_shelf_item_delegate.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SHELF_APP_LIST_SHELF_ITEM_DELEGATE_H_
-#define ASH_SHELF_APP_LIST_SHELF_ITEM_DELEGATE_H_
-
-#include "ash/common/shelf/shelf_item_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// ShelfItemDelegate for TYPE_APP_LIST.
-class AppListShelfItemDelegate : public ShelfItemDelegate {
- public:
- AppListShelfItemDelegate();
-
- ~AppListShelfItemDelegate() override;
-
- // ShelfItemDelegate:
- ShelfItemDelegate::PerformedAction ItemSelected(
- const ui::Event& event) override;
- base::string16 GetTitle() override;
- ShelfMenuModel* CreateApplicationMenu(int event_flags) override;
- bool IsDraggable() override;
- bool CanPin() const override;
- bool ShouldShowTooltip() override;
- void Close() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AppListShelfItemDelegate);
-};
-
-} // namespace ash
-
-#endif // ASH_SHELF_APP_LIST_SHELF_ITEM_DELEGATE_H_
« no previous file with comments | « ash/shelf/app_list_button.cc ('k') | ash/shelf/app_list_shelf_item_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698