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

Side by Side Diff: components/dom_distiller/webui/dom_distiller_ui.h

Issue 105623002: Debug UI for DOM distiller supports distillation and lists articles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix strings and dependencies for ios Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
6 #define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_ 6 #define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
7 7
8 #include "content/public/browser/web_ui_controller.h" 8 #include "content/public/browser/web_ui_controller.h"
9 9
10 namespace dom_distiller { 10 namespace dom_distiller {
11 11
12 // The WebUI handler for chrome://dom-distiller. 12 class DomDistillerService;
13 class DomDistillerUI : public content::WebUIController { 13
14 // The WebUI controller for chrome://dom-distiller.
15 class DomDistillerUi : public content::WebUIController {
14 public: 16 public:
15 explicit DomDistillerUI(content::WebUI* web_ui); 17 DomDistillerUi(content::WebUI* web_ui,
16 virtual ~DomDistillerUI(); 18 DomDistillerService* service,
19 const std::string& scheme);
20 virtual ~DomDistillerUi();
17 21
18 private: 22 private:
19 DISALLOW_COPY_AND_ASSIGN(DomDistillerUI); 23 DISALLOW_COPY_AND_ASSIGN(DomDistillerUi);
20 }; 24 };
21 25
22 } // namespace dom_distiller 26 } // namespace dom_distiller
23 27
24 #endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ 28 #endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
OLDNEW
« no previous file with comments | « components/dom_distiller/webui/dom_distiller_handler.cc ('k') | components/dom_distiller/webui/dom_distiller_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698