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

Unified Diff: chrome/browser/extensions/extension_web_ui.h

Issue 9224002: Make WebUI objects not derive from WebUI. WebUI objects own the controller. This is the ownership... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to head to clear linux_chromeos browsertest failures 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
Index: chrome/browser/extensions/extension_web_ui.h
===================================================================
--- chrome/browser/extensions/extension_web_ui.h (revision 117871)
+++ chrome/browser/extensions/extension_web_ui.h (working copy)
@@ -12,7 +12,6 @@
#include "chrome/browser/bookmarks/bookmark_manager_extension_api.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/common/extensions/extension.h"
-#include "content/browser/webui/web_ui.h"
#include "content/public/browser/web_ui_controller.h"
class PrefService;
@@ -22,11 +21,11 @@
// the main tab contents area. For example, each extension can specify an
// "options_page", and that page is displayed in the tab contents area and is
// hosted by this class.
-class ExtensionWebUI : public WebUI, public content::WebUIController {
+class ExtensionWebUI : public content::WebUIController {
public:
static const char kExtensionURLOverrides[];
- ExtensionWebUI(content::WebContents* web_contents, const GURL& url);
+ ExtensionWebUI(WebUI* web_ui, const GURL& url);
virtual ~ExtensionWebUI();

Powered by Google App Engine
This is Rietveld 408576698