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

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

Issue 9430027: Add default query method to WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix forward decl 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_intents_model.h
diff --git a/chrome/browser/ui/intents/web_intents_model.h b/chrome/browser/ui/intents/web_intents_model.h
index 2c9e03b21d3dc281a3830a6eba5cdcd62b966b4f..567dbb100b085a84587d65633a931ae08e214e23 100644
--- a/chrome/browser/ui/intents/web_intents_model.h
+++ b/chrome/browser/ui/intents/web_intents_model.h
@@ -11,6 +11,7 @@
#include "ui/base/models/tree_node_model.h"
class WebIntentsRegistry;
+struct DefaultWebIntentService;
// The tree structure is a TYPE_ROOT node with title="",
// children are TYPE_ORIGIN nodes with title=origin, whose
@@ -105,6 +106,10 @@ class WebIntentsModel : public ui::TreeNodeModel<WebIntentsTreeNode>,
WebIntentsRegistry::QueryID query_id,
const std::vector<webkit_glue::WebIntentServiceData>& services) OVERRIDE;
+ virtual void OnIntentsDefaultsQueryDone(
+ WebIntentsRegistry::QueryID query_id,
+ const DefaultWebIntentService& default_service) OVERRIDE;
+
private:
// Loads the data model from the WebIntentsRegistry.
// TODO(gbillock): need an observer on that to absorb async updates?
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/intents/web_intents_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698