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

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

Issue 2131463002: Purge the App Launcher code from Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Zap mac-specific icon assets 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
Index: chrome/browser/ui/app_list/app_list_service_cocoa_mac.h
diff --git a/chrome/browser/ui/app_list/app_list_service_cocoa_mac.h b/chrome/browser/ui/app_list/app_list_service_cocoa_mac.h
deleted file mode 100644
index 8d11241c174706e150c64e132aebde208aed7869..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/app_list/app_list_service_cocoa_mac.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2015 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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_MAC_H_
-#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_MAC_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/app_list/app_list_service_mac.h"
-
-namespace test {
-class AppListServiceMacTestApi;
-}
-
-class AppListControllerDelegateImpl;
-@class AppListWindowController;
-
-namespace base {
-template <typename T>
-struct DefaultSingletonTraits;
-} // namespace base
-
-// AppListServiceCocoaMac shows and hides the Cocoa app list on Mac.
-class AppListServiceCocoaMac : public AppListServiceMac {
- public:
- ~AppListServiceCocoaMac() override;
-
- static AppListServiceCocoaMac* GetInstance();
-
- // AppListService overrides:
- void ShowForProfile(Profile* requested_profile) override;
- Profile* GetCurrentAppListProfile() override;
- AppListControllerDelegate* GetControllerDelegate() override;
-
- // AppListServiceImpl overrides:
- void CreateForProfile(Profile* requested_profile) override;
- void DestroyAppList() override;
-
- protected:
- // AppListServiceMac overrides:
- NSWindow* GetNativeWindow() const override;
- bool ReadyToShow() override;
-
- private:
- friend class test::AppListServiceMacTestApi;
- friend struct base::DefaultSingletonTraits<AppListServiceCocoaMac>;
-
- AppListServiceCocoaMac();
-
- Profile* profile_;
- base::scoped_nsobject<AppListWindowController> window_controller_;
- std::unique_ptr<AppListControllerDelegateImpl> controller_delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(AppListServiceCocoaMac);
-};
-
-#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_COCOA_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698