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

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

Issue 9006027: Rip Out the Sidebar API (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 8 years, 11 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/js/api_page_generator.js ('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
===================================================================
--- chrome/common/extensions/extension.h (revision 116830)
+++ chrome/common/extensions/extension.h (working copy)
@@ -30,7 +30,6 @@
class ExtensionAction;
class ExtensionResource;
-class ExtensionSidebarDefaults;
class FileBrowserHandler;
class SkBitmap;
class Version;
@@ -232,7 +231,6 @@
// Max size (both dimensions) for browser and page actions.
static const int kPageActionIconMaxSize;
static const int kBrowserActionIconMaxSize;
- static const int kSidebarIconMaxSize;
// Valid schemes for web extent URLPatterns.
static const int kValidWebExtentSchemes;
@@ -518,9 +516,6 @@
const UserScriptList& content_scripts() const { return content_scripts_; }
ExtensionAction* page_action() const { return page_action_.get(); }
ExtensionAction* browser_action() const { return browser_action_.get(); }
- ExtensionSidebarDefaults* sidebar_defaults() const {
- return sidebar_defaults_.get();
- }
const FileBrowserHandlerList* file_browser_handlers() const {
return file_browser_handlers_.get();
}
@@ -685,11 +680,6 @@
FileBrowserHandler* LoadFileBrowserHandler(
const base::DictionaryValue* file_browser_handlers, string16* error);
- // Helper method to load an ExtensionSidebarDefaults from the sidebar manifest
- // entry.
- ExtensionSidebarDefaults* LoadExtensionSidebarDefaults(
- const base::DictionaryValue* sidebar, string16* error);
-
// Returns true if the extension has more than one "UI surface". For example,
// an extension that has a browser action and a page action.
bool HasMultipleUISurfaces() const;
@@ -790,9 +780,6 @@
// The extension's file browser actions, if any.
scoped_ptr<FileBrowserHandlerList> file_browser_handlers_;
- // The extension's sidebar, if any.
- scoped_ptr<ExtensionSidebarDefaults> sidebar_defaults_;
-
// Optional list of NPAPI plugins and associated properties.
std::vector<PluginInfo> plugins_;
« no previous file with comments | « chrome/common/extensions/docs/js/api_page_generator.js ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698