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

Unified Diff: components/arc/common/app.mojom

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: Fixes. Created 4 years, 6 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/app.mojom
diff --git a/components/arc/common/app.mojom b/components/arc/common/app.mojom
index 79e3c4095c598c84a3efdbaa0edd9ea1be92a667..c38b53a209066167ae55d84fae8f26bcc88768ec 100644
--- a/components/arc/common/app.mojom
+++ b/components/arc/common/app.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Next MinVersion: 10
+// Next MinVersion: 11
module arc.mojom;
@@ -35,6 +35,16 @@ struct ShortcutInfo {
string intent_uri;
};
+// Page for ShowPackageInfoOnPage.
+[Extensible]
+enum ShowPackageInfoPage {
+ // The main package info page.
+ MAIN = 0,
+
+ // Page for managing links assigned to the app.
+ MANAGE_LINKS = 1,
+};
+
// Next method ID: 12
interface AppHost {
// Sends newly added ARC app to Chrome. This message is sent when ARC receives
@@ -88,7 +98,8 @@ interface AppHost {
};
// TODO(lhchavez): Migrate all request/response messages to Mojo.
-// Next method ID: 15
+// Next method ID: 16
+// Deprecated method ID: 9
interface AppInstance {
Init@0(AppHost host_ptr);
@@ -144,8 +155,14 @@ interface AppInstance {
[MinVersion=4] SetTaskActive@7(int32 task_id);
// Sends a request to ARC to show package info for given package.
- [MinVersion=5] ShowPackageInfo@9(string package_name,
- ScreenRect dimension_on_screen);
+ [MinVersion=5] ShowPackageInfoDeprecated@9(string package_name,
+ ScreenRect dimension_on_screen);
+
+ // Sends a request to ARC to show package info for given package on the
+ // specified page.
+ [MinVersion=10] ShowPackageInfoOnPage@15(string package_name,
+ ShowPackageInfoPage page,
+ ScreenRect dimension_on_screen);
// Sets notification setting for the package.
[MinVersion=6] SetNotificationsEnabled@10(string package_name, bool enabled);
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | components/arc/test/fake_app_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698