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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_app_utils.h

Issue 2074543003: ARC: Add a link to "Manage supported links" in the Chrome app info dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + GN changes. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "components/arc/common/app.mojom.h"
11 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
12 13
13 namespace content { 14 namespace content {
14 class BrowserContext; 15 class BrowserContext;
15 } 16 }
16 17
17 namespace arc { 18 namespace arc {
18 19
19 extern const char kPlayStoreAppId[]; 20 extern const char kPlayStoreAppId[];
20 extern const char kSettingsAppId[]; 21 extern const char kSettingsAppId[];
(...skipping 29 matching lines...) Expand all
50 const gfx::Rect& rect, 51 const gfx::Rect& rect,
51 const CanHandleResolutionCallback& callback); 52 const CanHandleResolutionCallback& callback);
52 53
53 // Uninstalls the package in ARC. 54 // Uninstalls the package in ARC.
54 void UninstallPackage(const std::string& package_name); 55 void UninstallPackage(const std::string& package_name);
55 56
56 // Removes cached app shortcut icon in ARC. 57 // Removes cached app shortcut icon in ARC.
57 void RemoveCachedIcon(const std::string& icon_resource_id); 58 void RemoveCachedIcon(const std::string& icon_resource_id);
58 59
59 // Show package info for ARC package. 60 // Show package info for ARC package.
61 // Deprecated. Use ShowPackageInfoOnPage.
Peter Kasting 2016/06/23 07:07:20 Do you have plans to ensure this is removed later?
mtomasz 2016/06/23 08:51:56 I'll take care of it.
60 bool ShowPackageInfo(const std::string& package_name); 62 bool ShowPackageInfo(const std::string& package_name);
61 63
64 // Show package info for ARC package at the specified page.
65 bool ShowPackageInfoOnPage(const std::string& package_name,
66 mojom::ShowPackageInfoPage page);
67
62 } // namespace arc 68 } // namespace arc
63 69
64 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ 70 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698