Index: chrome/browser/dom_ui/dom_ui_host.h |
=================================================================== |
--- chrome/browser/dom_ui/dom_ui_host.h (revision 10343) |
+++ chrome/browser/dom_ui/dom_ui_host.h (working copy) |
@@ -2,16 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// DOMUIHost is a special type of TabContents that can display Chrome-specific |
-// content using HTML. |
-// It provides methods to send data to and from the page Javascript. |
+// THIS FILE IS DEPRECATED, USE DOM_UI INSTEAD. |
-// TODO(evanm): Add more limitations on what the contents of this view |
-// can do (especially regarding network requests). |
- |
#ifndef CHROME_BROWSER_DOM_UI_DOM_UI_HOST_H__ |
#define CHROME_BROWSER_DOM_UI_DOM_UI_HOST_H__ |
+#include "chrome/browser/dom_ui/dom_ui.h" |
#include "chrome/browser/tab_contents/web_contents.h" |
#include "webkit/glue/webpreferences.h" |
@@ -20,14 +16,6 @@ |
class RenderViewHost; |
class Value; |
-// Messages sent from the DOM are forwarded via the DOMUIHost to handler |
-// classes. These objects are owned by DOMUIHost and destroyed when the |
-// host is destroyed. |
-class DOMMessageHandler { |
- public: |
- virtual ~DOMMessageHandler() {} |
-}; |
- |
// See the comments at the top of this file. |
class DOMUIHost : public WebContents { |
public: |