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

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

Issue 1990783002: Mac: Open chrome://apps when a deprecated app launcher shim connects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160518-ShimAppsPage-UPSTREAM
Patch Set: git rebase as well? Created 4 years, 7 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_disabled_mac.h
diff --git a/chrome/browser/ui/app_list/app_list_service_disabled_mac.h b/chrome/browser/ui/app_list/app_list_service_disabled_mac.h
new file mode 100644
index 0000000000000000000000000000000000000000..9a3fdea1ac8534f8757def3a30ba2907b0ac7473
--- /dev/null
+++ b/chrome/browser/ui/app_list/app_list_service_disabled_mac.h
@@ -0,0 +1,15 @@
+// Copyright 2016 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_DISABLED_MAC_H_
+#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_DISABLED_MAC_H_
+
+class Profile;
+
+// Register the handler to accept connections from the old app_list shim, and
+// perform |action|; e.g. to open chrome://apps rather than the deleted App
+// Launcher UI.
+void InitAppsPageLegacyShimHandler(void (*action)(Profile*));
+
+#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_DISABLED_MAC_H_
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_disabled.cc ('k') | chrome/browser/ui/app_list/app_list_service_disabled_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698