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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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: chrome/browser/ui/app_list/app_list_service_mac.h
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.h b/chrome/browser/ui/app_list/app_list_service_mac.h
index 406faf045fb1d3efebd8f645e87558ac94eca6b2..39d4d971685b17f85b1956bb1d6478ad96805844 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.h
+++ b/chrome/browser/ui/app_list/app_list_service_mac.h
@@ -32,7 +32,7 @@ class AppListServiceMacTestApi;
class AppListServiceMac : public AppListServiceImpl,
public apps::AppShimHandler {
public:
- virtual ~AppListServiceMac();
+ ~AppListServiceMac() override;
static AppListServiceMac* GetInstance();
@@ -56,32 +56,31 @@ class AppListServiceMac : public AppListServiceImpl,
void WindowAnimationDidEnd();
// AppListService overrides:
- virtual void Init(Profile* initial_profile) override;
- virtual void ShowForProfile(Profile* requested_profile) override;
- virtual void DismissAppList() override;
- virtual bool IsAppListVisible() const override;
- virtual void EnableAppList(Profile* initial_profile,
- AppListEnableSource enable_source) override;
- virtual gfx::NativeWindow GetAppListWindow() override;
- virtual AppListControllerDelegate* GetControllerDelegate() override;
- virtual Profile* GetCurrentAppListProfile() override;
- virtual void CreateShortcut() override;
+ void Init(Profile* initial_profile) override;
+ void ShowForProfile(Profile* requested_profile) override;
+ void DismissAppList() override;
+ bool IsAppListVisible() const override;
+ void EnableAppList(Profile* initial_profile,
+ AppListEnableSource enable_source) override;
+ gfx::NativeWindow GetAppListWindow() override;
+ AppListControllerDelegate* GetControllerDelegate() override;
+ Profile* GetCurrentAppListProfile() override;
+ void CreateShortcut() override;
// AppListServiceImpl overrides:
- virtual void CreateForProfile(Profile* requested_profile) override;
- virtual void DestroyAppList() override;
+ void CreateForProfile(Profile* requested_profile) override;
+ void DestroyAppList() override;
// AppShimHandler overrides:
- virtual void OnShimLaunch(apps::AppShimHandler::Host* host,
- apps::AppShimLaunchType launch_type,
- const std::vector<base::FilePath>& files) override;
- virtual void OnShimClose(apps::AppShimHandler::Host* host) override;
- virtual void OnShimFocus(apps::AppShimHandler::Host* host,
- apps::AppShimFocusType focus_type,
- const std::vector<base::FilePath>& files) override;
- virtual void OnShimSetHidden(apps::AppShimHandler::Host* host,
- bool hidden) override;
- virtual void OnShimQuit(apps::AppShimHandler::Host* host) override;
+ void OnShimLaunch(apps::AppShimHandler::Host* host,
+ apps::AppShimLaunchType launch_type,
+ const std::vector<base::FilePath>& files) override;
+ void OnShimClose(apps::AppShimHandler::Host* host) override;
+ void OnShimFocus(apps::AppShimHandler::Host* host,
+ apps::AppShimFocusType focus_type,
+ const std::vector<base::FilePath>& files) override;
+ void OnShimSetHidden(apps::AppShimHandler::Host* host, bool hidden) override;
+ void OnShimQuit(apps::AppShimHandler::Host* host) override;
private:
friend class test::AppListServiceMacTestApi;

Powered by Google App Engine
This is Rietveld 408576698