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

Unified Diff: chrome/browser/ui/intents/web_intent_picker.h

Issue 9799001: [Web Intents] Inline installation of extensions in web intents picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: i'm dumb Created 8 years, 9 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/intents/web_intent_picker.h
diff --git a/chrome/browser/ui/intents/web_intent_picker.h b/chrome/browser/ui/intents/web_intent_picker.h
index fb956970177be0552907a3a673b65390995c6938..646edf0a916791864dcf1d7a5f902d20686dd2c4 100644
--- a/chrome/browser/ui/intents/web_intent_picker.h
+++ b/chrome/browser/ui/intents/web_intent_picker.h
@@ -32,6 +32,12 @@ class WebIntentPicker {
// Hides the UI for this picker, and destroys its UI.
virtual void Close() = 0;
+ // Called when an extension is successfully installed via the picker.
+ virtual void OnExtensionInstallSuccess(const std::string& id) {}
+
+ // Called when an extension installation started via the picker has failed.
+ virtual void OnExtensionInstallFailure(const std::string& id) {}
+
// Called when the controller has finished all pending asynchronous
// activities.
virtual void OnPendingAsyncCompleted() {}

Powered by Google App Engine
This is Rietveld 408576698