blob: af29f6acd4d1496d87e919156ab4185ddf6c0c89 (
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
|
// 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_host.h"
class DebuggerContents : public DOMUIHost {
public:
DebuggerContents(Profile* profile, SiteInstance* instance);
static bool IsDebuggerUrl(const GURL& url);
protected:
// 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);
};
#endif // CHROME_BROWSER_DEBUGGER_CONTENTS_H__
|