blob: 69c33fd392c5d715bddfdc4dbc148ca9c76185f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file defines utility functions for working with strings.
#ifndef CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
#define CHROME_BROWSER_SHELL_DEBUGGER_CONTENTS_H__
#include "chrome/browser/dom_ui/dom_ui.h"
class DebuggerContents : public DOMUI {
public:
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) { }
DISALLOW_EVIL_CONSTRUCTORS(DebuggerContents);
};
#endif // CHROME_BROWSER_DEBUGGER_CONTENTS_H__
|