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

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

Issue 9430027: Add default query method to WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some issues, refactoring. Created 8 years, 10 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_controller.h
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.h b/chrome/browser/ui/intents/web_intent_picker_controller.h
index c5cec6e8dc67f70b62a8b6266003d1e03be8e5ce..80fdb21095900efd771163b9659174ca5a4c09e3 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.h
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.h
@@ -22,6 +22,7 @@
#include "webkit/glue/web_intent_reply_data.h"
class Browser;
+class DefaultWebIntentService;
class GURL;
class TabContents;
class TabContentsWrapper;
@@ -97,6 +98,11 @@ class WebIntentPickerController : public content::NotificationObserver,
WebIntentsRegistry::QueryID,
const std::vector<webkit_glue::WebIntentServiceData>& services) OVERRIDE;
+ // Called when the WebIntentsRegistry returns responses to a defaults request.
+ virtual void OnIntentsDefaultsQueryDone(
+ WebIntentsRegistry::QueryID,
+ const DefaultWebIntentService& default_service) OVERRIDE;
+
// Called when FaviconData is returned from the FaviconService.
void OnFaviconDataAvailable(FaviconService::Handle handle,
history::FaviconData favicon_data);

Powered by Google App Engine
This is Rietveld 408576698