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

Side by Side Diff: components/dom_distiller/content/browser/dom_distiller_viewer_source.h

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Function rename and remove unnecessary code Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_H_ 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "components/dom_distiller/content/browser/external_feedback_reporter.h" 13 #include "components/dom_distiller/content/browser/external_feedback_reporter.h"
14 #include "components/dom_distiller/content/renderer/distiller_page_notifier_serv ice_impl.h"
14 #include "content/public/browser/url_data_source.h" 15 #include "content/public/browser/url_data_source.h"
15 16
16 namespace dom_distiller { 17 namespace dom_distiller {
17 18
18 class DomDistillerServiceInterface; 19 class DomDistillerServiceInterface;
19 class DomDistillerViewerSourceTest; 20 class DomDistillerViewerSourceTest;
20 class ViewerHandle; 21 class ViewerHandle;
21 class ViewRequestDelegate; 22 class ViewRequestDelegate;
22 23
23 // Serves HTML and resources for viewing distilled articles. 24 // Serves HTML and resources for viewing distilled articles.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // A means for starting/opening an external service for feedback reporting. 59 // A means for starting/opening an external service for feedback reporting.
59 scoped_ptr<ExternalFeedbackReporter> external_feedback_reporter_; 60 scoped_ptr<ExternalFeedbackReporter> external_feedback_reporter_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource); 62 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource);
62 }; 63 };
63 64
64 } // namespace dom_distiller 65 } // namespace dom_distiller
65 66
66 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_ H_ 67 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DOM_DISTILLER_VIEWER_SOURCE_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698