Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: components/dom_distiller/webui/dom_distiller_ui.h

Issue 23503042: Initial WebUI for DOM Distiller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from estade. Also added DEPS for ui/webui/resources Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/webui/dom_distiller_ui.h
diff --git a/components/dom_distiller/webui/dom_distiller_ui.h b/components/dom_distiller/webui/dom_distiller_ui.h
new file mode 100644
index 0000000000000000000000000000000000000000..777ca7a733e8d852f2b0d19ca191dc09f7b42f13
--- /dev/null
+++ b/components/dom_distiller/webui/dom_distiller_ui.h
@@ -0,0 +1,25 @@
+// 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_H_
+#define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_
+
+#include "content/public/browser/web_ui_controller.h"
+
+namespace dom_distiller {
+
+// The WebUI handler for chrome://dom-distiller.
+class DomDistillerUI : public content::WebUIController {
+ public:
+ explicit DomDistillerUI(content::WebUI* web_ui,
+ const GURL& url,
+ const std::string& host);
+ virtual ~DomDistillerUI();
Evan Stade 2013/09/11 01:44:01 \n
nyquist 2013/09/12 17:42:12 Done.
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DomDistillerUI);
+};
+
+} // namespace dom_distiller
+
+#endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_

Powered by Google App Engine
This is Rietveld 408576698