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

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: reupload 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..2d8defda8f6f467548c73f29e230eaf72c07b6c6
--- /dev/null
+++ b/components/dom_distiller/webui/dom_distiller_ui.h
@@ -0,0 +1,24 @@
+// 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_
tim (not reviewing) 2013/09/17 00:02:17 guard comments are wrong, should be DOM_DISTILLER_
nyquist 2013/09/17 00:16:11 Done.
+#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);
+ virtual ~DomDistillerUI();
+
+ 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