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

Unified Diff: chrome/common/extensions/extension.h

Issue 2078021: First pass at experimental omnibox API. There are plenty of rough edges and (Closed)
Patch Set: no prefer_keyword Created 10 years, 7 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/common/extensions/docs/experimental.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index a135df58dfe268a6c2895f0e8f1eb4e8ba473dfb..49d6288412107355971ad3a571e0846026064524 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -327,6 +327,8 @@ class Extension {
return chrome_url_overrides_;
}
+ const std::string omnibox_keyword() const { return omnibox_keyword_; }
+
bool web_content_enabled() const { return web_content_enabled_; }
const ExtensionExtent& web_extent() const { return web_extent_; }
@@ -528,6 +530,9 @@ class Extension {
// resource to the cached image.
ImageCache image_cache_;
+ // The omnibox keyword for this extension, or empty if there is none.
+ std::string omnibox_keyword_;
+
// Runtime data:
// True if the background page is ready.
« no previous file with comments | « chrome/common/extensions/docs/experimental.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698