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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller.cc

Issue 10828172: Allow platform apps to respond to Web Intents (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: about to submit Created 8 years, 3 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/browser/extensions/web_intent_callbacks.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/intents/web_intent_picker_controller.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc
index dda07d7894c773652a89f574ca6053b3d9ff36e4..a0514cd0890bbb52a4a9d79fed257636af3099c7 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
@@ -299,11 +299,7 @@ void WebIntentPickerController::OnServiceChosen(
// TODO(smckay): this basically smells like another disposition.
if (extension && extension->is_platform_app()) {
extensions::LaunchPlatformAppWithWebIntent(tab_contents_->profile(),
- extension, intents_dispatcher_->GetIntent());
- // TODO(benwells): hook up return pathway to allow platform app to post
- // success or failure.
- intents_dispatcher_->SendReplyMessage(
- webkit_glue::WEB_INTENT_REPLY_SUCCESS, string16());
+ extension, intents_dispatcher_, tab_contents_->web_contents());
ClosePicker();
return;
}
« no previous file with comments | « chrome/browser/extensions/web_intent_callbacks.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698