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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_url_handler.cc ('k') | chrome/browser/debugger/debugger_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file defines utility functions for working with strings. 5 // This file defines utility functions for working with strings.
6 6
7 #ifndef CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__ 7 #ifndef CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
8 #define CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__ 8 #define CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
9 9
10 #include "chrome/browser/dom_ui/dom_ui_host.h" 10 #include "chrome/browser/dom_ui/dom_ui.h"
11 11
12 class DebuggerContents : public DOMUIHost { 12 class DebuggerContents : public DOMUI {
13 public: 13 public:
14 DebuggerContents(Profile* profile, SiteInstance* instance); 14 DebuggerContents(DOMUIContents* contents);
15
16 // DOMUI Implementation
17 virtual void Init();
18
19 // Return the URL for the front page of this UI.
20 static GURL GetBaseURL();
15 21
16 static bool IsDebuggerUrl(const GURL& url); 22 static bool IsDebuggerUrl(const GURL& url);
17 23
18 protected: 24 protected:
25 DOMUIContents* contents_;
26
19 // WebContents overrides: 27 // WebContents overrides:
20 // We override updating history with a no-op so these pages 28 // We override updating history with a no-op so these pages
21 // are not saved to history. 29 // are not saved to history.
22 virtual void UpdateHistoryForNavigation(const GURL& url, 30 virtual void UpdateHistoryForNavigation(const GURL& url,
23 const ViewHostMsg_FrameNavigate_Params& params) { } 31 const ViewHostMsg_FrameNavigate_Params& params) { }
24 32
25 // DOMUIHost implementation.
26 virtual void AttachMessageHandlers();
27
28 DISALLOW_EVIL_CONSTRUCTORS(DebuggerContents); 33 DISALLOW_EVIL_CONSTRUCTORS(DebuggerContents);
29 }; 34 };
30 35
31 #endif // CHROME_BROWSER_DEBUGGER_CONTENTS_H__ 36 #endif // CHROME_BROWSER_DEBUGGER_CONTENTS_H__
32 37
OLDNEW
« 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