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

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

Issue 2787693002: Remove more dead app list code. (Closed)
Patch Set: updated comment Created 3 years, 9 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_controller_delegate_impl.h
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate_impl.h b/chrome/browser/ui/app_list/app_list_controller_delegate_impl.h
deleted file mode 100644
index fed1702afc724a76b511280ab4471e09e6210071..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/app_list/app_list_controller_delegate_impl.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2013 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_CONTROLLER_DELEGATE_IMPL_H_
-#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
-
-class AppListService;
-class Profile;
-
-namespace base {
-class FilePath;
-}
-
-namespace extensions {
-class Extension;
-}
-
-// Primary implementation of AppListControllerDelegate, used by non-Ash
-// platforms.
-class AppListControllerDelegateImpl : public AppListControllerDelegate {
- public:
- explicit AppListControllerDelegateImpl(AppListService* service);
- ~AppListControllerDelegateImpl() override;
-
- // AppListControllerDelegate overrides:
- void DismissView() override;
- gfx::NativeWindow GetAppListWindow() override;
- bool IsAppPinned(const std::string& extension_id) override;
- void PinApp(const std::string& extension_id) override;
- void UnpinApp(const std::string& extension_id) override;
- Pinnable GetPinnable(const std::string& extension_id) override;
- bool IsAppOpen(const std::string& extension_id) const override;
- bool CanDoCreateShortcutsFlow() override;
- void DoCreateShortcutsFlow(Profile* profile,
- const std::string& extension_id) override;
- void CreateNewWindow(Profile* profile, bool incognito) override;
- void OpenURL(Profile* profile,
- const GURL& url,
- ui::PageTransition transition,
- WindowOpenDisposition disposition) override;
- void ActivateApp(Profile* profile,
- const extensions::Extension* extension,
- AppListSource source,
- int event_flags) override;
- void LaunchApp(Profile* profile,
- const extensions::Extension* extension,
- AppListSource source,
- int event_flags) override;
- void ShowForProfileByPath(const base::FilePath& profile_path) override;
- bool ShouldShowUserIcon() override;
-
- private:
- void OnCloseCreateShortcutsPrompt(bool created);
-
- AppListService* service_;
-
- DISALLOW_COPY_AND_ASSIGN(AppListControllerDelegateImpl);
-};
-
-#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698