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

Unified Diff: ash/common/test/test_shelf_item_delegate.h

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
« no previous file with comments | « ash/common/shelf/shelf_window_watcher_item_delegate.cc ('k') | ash/common/test/test_shelf_item_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/test_shelf_item_delegate.h
diff --git a/ash/common/test/test_shelf_item_delegate.h b/ash/common/test/test_shelf_item_delegate.h
index 8eb756486bec10622c87f354ce4bf4d586a07a04..dac15e1995b62b5587efd52d9dc92daaea0d29b4 100644
--- a/ash/common/test/test_shelf_item_delegate.h
+++ b/ash/common/test/test_shelf_item_delegate.h
@@ -21,22 +21,17 @@ class TestShelfItemDelegate : public ShelfItemDelegate {
explicit TestShelfItemDelegate(WmWindow* window);
~TestShelfItemDelegate() override;
- void set_is_draggable(bool is_draggable) { is_draggable_ = is_draggable; }
-
// 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;
void Close() override;
private:
WmWindow* window_;
- bool is_draggable_;
-
DISALLOW_COPY_AND_ASSIGN(TestShelfItemDelegate);
};
« no previous file with comments | « ash/common/shelf/shelf_window_watcher_item_delegate.cc ('k') | ash/common/test/test_shelf_item_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698