Index: components/dom_distiller/webui/dom_distiller_viewer_ui.h |
diff --git a/components/dom_distiller/webui/dom_distiller_viewer_ui.h b/components/dom_distiller/webui/dom_distiller_viewer_ui.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecc1d980bf48099e145f69d6b83028d9681ddc83 |
--- /dev/null |
+++ b/components/dom_distiller/webui/dom_distiller_viewer_ui.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2013 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 COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_VIEWER_UI_H_ |
+#define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_VIEWER_UI_H_ |
+ |
+#include "components/dom_distiller/webui/dom_distiller_viewer_handler.h" |
+#include "content/public/browser/web_ui_controller.h" |
+#include "content/public/browser/web_ui_data_source.h" |
+ |
+namespace dom_distiller { |
+ |
+class DomDistillerService; |
+ |
+// The WebUI controller for chrome-distiller://. |
+class DomDistillerViewerUi : public content::WebUIController { |
+ public: |
+ DomDistillerViewerUi(content::WebUI* web_ui, DomDistillerService* service); |
+ virtual ~DomDistillerViewerUi(); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerUi); |
+}; |
+ |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_VIEWER_UI_H_ |