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

Unified Diff: ash/shelf/shelf_item_delegate_manager.h

Issue 684643002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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/shelf_button.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_item_delegate_manager.h
diff --git a/ash/shelf/shelf_item_delegate_manager.h b/ash/shelf/shelf_item_delegate_manager.h
index c03b835f8919b712d6c249d00b37df01f0ad6cc7..95f8f8ab0114d6508456c4384774bc9013c54619 100644
--- a/ash/shelf/shelf_item_delegate_manager.h
+++ b/ash/shelf/shelf_item_delegate_manager.h
@@ -29,7 +29,7 @@ class ShelfItemDelegateManagerTestAPI;
class ASH_EXPORT ShelfItemDelegateManager : public ShelfModelObserver {
public:
explicit ShelfItemDelegateManager(ShelfModel* model);
- virtual ~ShelfItemDelegateManager();
+ ~ShelfItemDelegateManager() override;
// Set |item_delegate| for |id| and take an ownership.
void SetShelfItemDelegate(ShelfID id,
@@ -39,12 +39,11 @@ class ASH_EXPORT ShelfItemDelegateManager : public ShelfModelObserver {
ShelfItemDelegate* GetShelfItemDelegate(ShelfID id);
// ShelfModelObserver overrides:
- virtual void ShelfItemAdded(int model_index) override;
- virtual void ShelfItemRemoved(int index, ShelfID id) override;
- virtual void ShelfItemMoved(int start_index, int targetindex) override;
- virtual void ShelfItemChanged(int index,
- const ShelfItem& old_item) override;
- virtual void ShelfStatusChanged() override;
+ void ShelfItemAdded(int model_index) override;
+ void ShelfItemRemoved(int index, ShelfID id) override;
+ void ShelfItemMoved(int start_index, int targetindex) override;
+ void ShelfItemChanged(int index, const ShelfItem& old_item) override;
+ void ShelfStatusChanged() override;
private:
friend class test::ShelfItemDelegateManagerTestAPI;
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698