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

Side by Side Diff: components/arc/common/intent_helper.mojom

Issue 2397263003: arc: Remove IntentHelperInstance::HandleUrlListDeprecated. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | components/arc/test/fake_intent_helper_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Next MinVersion: 12 5 // Next MinVersion: 12
6 6
7 module arc.mojom; 7 module arc.mojom;
8 8
9 import "scale_factor.mojom"; 9 import "scale_factor.mojom";
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // Handles the URL by sending an ACTION_VIEW intent to the package. The 109 // Handles the URL by sending an ACTION_VIEW intent to the package. The
110 // most suitable activity for the URL within the package will be started. 110 // most suitable activity for the URL within the package will be started.
111 [MinVersion=2] HandleUrl@2(string url, string package_name); 111 [MinVersion=2] HandleUrl@2(string url, string package_name);
112 112
113 // Handles the list of URLs by sending a specified intent to the handler. 113 // Handles the list of URLs by sending a specified intent to the handler.
114 [MinVersion=5] HandleUrlList@7(array<UrlWithMimeType> urls, 114 [MinVersion=5] HandleUrlList@7(array<UrlWithMimeType> urls,
115 ActivityName activity, 115 ActivityName activity,
116 ActionType action_type); 116 ActionType action_type);
117 117
118 // Deprecated. Use HandleUrlList.
119 [MinVersion=4] HandleUrlListDeprecated@5(array<UrlWithMimeType> urls,
120 string package_name,
121 ActionType action_type);
122
123 // Establishes full-duplex communication with the host. 118 // Establishes full-duplex communication with the host.
124 Init@0(IntentHelperHost host_ptr); 119 Init@0(IntentHelperHost host_ptr);
125 120
126 // Requests 48dp * 48dp icons of the |activities| suitable for the 121 // Requests 48dp * 48dp icons of the |activities| suitable for the
127 // |scale_factor|. An array of icon data will be returned. 122 // |scale_factor|. An array of icon data will be returned.
128 [MinVersion=3] RequestActivityIcons@4(array<ActivityName> activities, 123 [MinVersion=3] RequestActivityIcons@4(array<ActivityName> activities,
129 ScaleFactor scale_factor) 124 ScaleFactor scale_factor)
130 => (array<ActivityIcon> icons); 125 => (array<ActivityIcon> icons);
131 126
132 // Requests a list of packages that can handle the URL. 127 // Requests a list of packages that can handle the URL.
133 [MinVersion=2] RequestUrlHandlerList@3(string url) 128 [MinVersion=2] RequestUrlHandlerList@3(string url)
134 => (array<IntentHandlerInfo> handlers); 129 => (array<IntentHandlerInfo> handlers);
135 130
136 // Requests a list of packages that can handle the list of files. 131 // Requests a list of packages that can handle the list of files.
137 [MinVersion=4] RequestUrlListHandlerList@6(array<UrlWithMimeType> urls) 132 [MinVersion=4] RequestUrlListHandlerList@6(array<UrlWithMimeType> urls)
138 => (array<IntentHandlerInfo> handlers); 133 => (array<IntentHandlerInfo> handlers);
139 134
140 // Send an Android broadcast message to the Android package and class 135 // Send an Android broadcast message to the Android package and class
141 // specified. Data can be sent as extras by including a JSON map string which 136 // specified. Data can be sent as extras by including a JSON map string which
142 // will be automatically converted to a bundle accessible by the receiver. 137 // will be automatically converted to a bundle accessible by the receiver.
143 // 138 //
144 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be 139 // Note: Broadcasts can only be sent to whitelisted packages. Packages can be
145 // added to the whitelist in ArcBridgeService.java in the Android source. 140 // added to the whitelist in ArcBridgeService.java in the Android source.
146 [MinVersion=1] SendBroadcast@1(string action, 141 [MinVersion=1] SendBroadcast@1(string action,
147 string package_name, 142 string package_name,
148 string cls, 143 string cls,
149 string extras); 144 string extras);
150 }; 145 };
OLDNEW
« no previous file with comments | « no previous file | components/arc/test/fake_intent_helper_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698