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

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

Issue 9763001: [Web Intents] Inline installation of extensions in web intents picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac fix 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_delegate.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_delegate.h b/chrome/browser/ui/intents/web_intent_picker_delegate.h
index f6ef88f84348d7849781f53c3adcc0b14ea9502a..296dea191504411efa4aecbf0a3edaf98e70b316 100644
--- a/chrome/browser/ui/intents/web_intent_picker_delegate.h
+++ b/chrome/browser/ui/intents/web_intent_picker_delegate.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_PICKER_DELEGATE_H_
#pragma once
+#include <string>
#include "chrome/browser/ui/intents/web_intent_picker_model.h"
namespace content {
@@ -29,6 +30,9 @@ class WebIntentPickerDelegate {
virtual void OnInlineDispositionWebContentsCreated(
content::WebContents* web_contents) = 0;
+ // Called when the user has chosen to install a suggested extension.
+ virtual void OnExtensionInstallRequested(const std::string& id) = 0;
+
// Called when the user cancels out of the dialog, whether by closing it
// manually or otherwise purposefully.
virtual void OnCancelled() = 0;

Powered by Google App Engine
This is Rietveld 408576698