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

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

Issue 3129003: remove toolstrips (Closed)
Patch Set: merge Created 10 years, 4 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/api/extension_api.json ('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 d4ffbdbb2435b1dd1f4d5ee1fe1c1d3ab2c19357..f2b159636f1cc398506dbaf8c0dd92aff2b78594 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -125,15 +125,6 @@ class Extension {
bool is_public; // False if only this extension can load this plugin.
};
- // A toolstrip and its associated mole.
- struct ToolstripInfo {
- ToolstripInfo() : mole_height(0) {}
-
- GURL toolstrip;
- GURL mole;
- int mole_height;
- };
-
// The name of the manifest inside an extension.
static const FilePath::CharType kManifestFilename[];
@@ -265,7 +256,7 @@ class Extension {
const GURL& background_url() const { return background_url_; }
const GURL& options_url() const { return options_url_; }
const GURL& devtools_url() const { return devtools_url_; }
- const std::vector<ToolstripInfo>& toolstrips() const { return toolstrips_; }
+ const std::vector<GURL>& toolstrips() const { return toolstrips_; }
const std::vector<std::string>& api_permissions() const {
return api_permissions_;
}
@@ -494,7 +485,7 @@ class Extension {
GURL devtools_url_;
// Optional list of toolstrips_ and associated properties.
- std::vector<ToolstripInfo> toolstrips_;
+ std::vector<GURL> toolstrips_;
// The public key ('key' in the manifest) used to sign the contents of the
// crx package ('signature' in the manifest)
« no previous file with comments | « chrome/common/extensions/api/extension_api.json ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698