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

Unified Diff: ash/shell/shelf_delegate_impl.h

Issue 679283002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/shell/shelf_delegate_impl.h
diff --git a/ash/shell/shelf_delegate_impl.h b/ash/shell/shelf_delegate_impl.h
index f9a06409ad42a85589145609470392c07094eb89..9d7247e1aae204a0466de8324d7a159e7a41f57a 100644
--- a/ash/shell/shelf_delegate_impl.h
+++ b/ash/shell/shelf_delegate_impl.h
@@ -20,19 +20,19 @@ class WindowWatcher;
class ShelfDelegateImpl : public ShelfDelegate {
public:
explicit ShelfDelegateImpl(WindowWatcher* watcher);
- virtual ~ShelfDelegateImpl();
+ ~ShelfDelegateImpl() override;
void set_watcher(WindowWatcher* watcher) { watcher_ = watcher; }
// ShelfDelegate overrides:
- virtual void OnShelfCreated(Shelf* shelf) override;
- virtual void OnShelfDestroyed(Shelf* shelf) override;
- virtual ShelfID GetShelfIDForAppID(const std::string& app_id) override;
- virtual const std::string& GetAppIDForShelfID(ShelfID id) override;
- virtual void PinAppWithID(const std::string& app_id) override;
- virtual bool IsAppPinned(const std::string& app_id) override;
- virtual bool CanPin() const override;
- virtual void UnpinAppWithID(const std::string& app_id) override;
+ void OnShelfCreated(Shelf* shelf) override;
+ void OnShelfDestroyed(Shelf* shelf) override;
+ ShelfID GetShelfIDForAppID(const std::string& app_id) override;
+ const std::string& GetAppIDForShelfID(ShelfID id) override;
+ void PinAppWithID(const std::string& app_id) override;
+ bool IsAppPinned(const std::string& app_id) override;
+ bool CanPin() const override;
+ void UnpinAppWithID(const std::string& app_id) override;
private:
// Used to update Launcher. Owned by main.

Powered by Google App Engine
This is Rietveld 408576698