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

Unified Diff: chrome/browser/debugger/debugger_contents.h

Issue 28104: Enable history and downloads by default, port NewTabUI from DOMUIHost to DOMU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/debugger/debugger_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/debugger/debugger_contents.h
===================================================================
--- chrome/browser/debugger/debugger_contents.h (revision 10343)
+++ chrome/browser/debugger/debugger_contents.h (working copy)
@@ -7,24 +7,29 @@
#ifndef CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
#define CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
-#include "chrome/browser/dom_ui/dom_ui_host.h"
+#include "chrome/browser/dom_ui/dom_ui.h"
-class DebuggerContents : public DOMUIHost {
+class DebuggerContents : public DOMUI {
public:
- DebuggerContents(Profile* profile, SiteInstance* instance);
+ DebuggerContents(DOMUIContents* contents);
+ // DOMUI Implementation
+ virtual void Init();
+
+ // Return the URL for the front page of this UI.
+ static GURL GetBaseURL();
+
static bool IsDebuggerUrl(const GURL& url);
protected:
+ DOMUIContents* contents_;
+
// WebContents overrides:
// We override updating history with a no-op so these pages
// are not saved to history.
virtual void UpdateHistoryForNavigation(const GURL& url,
const ViewHostMsg_FrameNavigate_Params& params) { }
- // DOMUIHost implementation.
- virtual void AttachMessageHandlers();
-
DISALLOW_EVIL_CONSTRUCTORS(DebuggerContents);
};
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/debugger/debugger_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698