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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.h

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment 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/views/app_list/win/app_list_service_win.h
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.h b/chrome/browser/ui/views/app_list/win/app_list_service_win.h
deleted file mode 100644
index 6ae496c83bff7cff3534d60e0d71e0715ab75c3e..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.h
+++ /dev/null
@@ -1,62 +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_VIEWS_APP_LIST_WIN_APP_LIST_SERVICE_WIN_H_
-#define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_SERVICE_WIN_H_
-
-#include <memory>
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "chrome/browser/ui/app_list/app_list_service_views.h"
-
-class ActivationTrackerWin;
-
-namespace base {
-template <typename T> struct DefaultSingletonTraits;
-}
-
-class AppListServiceWin : public AppListServiceViews {
- public:
- ~AppListServiceWin() override;
-
- static AppListServiceWin* GetInstance();
-
- // AppListService overrides:
- void SetAppListNextPaintCallback(void (*callback)()) override;
- void Init(Profile* initial_profile) override;
- void ShowForProfile(Profile* requested_profile) override;
- void CreateShortcut() override;
-
- private:
- friend struct base::DefaultSingletonTraits<AppListServiceWin>;
-
- // AppListServiceViews overrides:
- void OnViewBeingDestroyed() override;
-
- // AppListShowerDelegate overrides:
- void OnViewCreated() override;
- void OnViewDismissed() override;
- void MoveNearCursor(app_list::AppListView* view) override;
-
- AppListServiceWin();
-
- bool IsWarmupNeeded();
- void ScheduleWarmup();
-
- // Loads the profile last used with the app list and populates the view from
- // it without showing it so that the next show is faster. Does nothing if the
- // view already exists, or another profile is in the middle of being loaded to
- // be shown.
- void LoadProfileForWarmup();
- void OnLoadProfileForWarmup(Profile* initial_profile);
-
- std::unique_ptr<ActivationTrackerWin> activation_tracker_;
-
- base::Closure next_paint_callback_;
-
- DISALLOW_COPY_AND_ASSIGN(AppListServiceWin);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_SERVICE_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698