summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/view_source_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/view_source_contents.h')
-rw-r--r--chrome/browser/tab_contents/view_source_contents.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/chrome/browser/tab_contents/view_source_contents.h b/chrome/browser/tab_contents/view_source_contents.h
deleted file mode 100644
index f09f14b..0000000
--- a/chrome/browser/tab_contents/view_source_contents.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_TAB_CONTENTS_VIEW_SOURCE_CONTENTS_H_
-#define CHROME_BROWSER_TAB_CONTENTS_VIEW_SOURCE_CONTENTS_H_
-
-#include "chrome/browser/tab_contents/web_contents.h"
-
-// We use this class to implement view-source: URLs.
-class ViewSourceContents : public WebContents {
- public:
- ViewSourceContents(Profile* profile, SiteInstance* instance);
-
- protected:
- // RenderViewHostDelegate overrides:
- virtual void RendererCreated(RenderViewHost* host);
-
- // 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) { }
-};
-
-#endif // CHROME_BROWSER_TAB_CONTENTS_VIEW_SOURCE_CONTENTS_H_
-