OLD | NEW |
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_CORE_VIEWER_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ |
6 #define COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_VIEWER_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 "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "components/dom_distiller/core/distilled_page_prefs.h" | 14 #include "components/dom_distiller/core/distilled_page_prefs.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 | 16 |
17 namespace dom_distiller { | 17 namespace dom_distiller { |
18 | 18 |
19 class DistilledArticleProto; | 19 class DistilledArticleProto; |
20 class DistilledPageProto; | 20 class DistilledPageProto; |
21 class DomDistillerServiceInterface; | 21 class DomDistillerServiceInterface; |
22 class ViewerHandle; | 22 class ViewerHandle; |
23 class ViewRequestDelegate; | 23 class ViewRequestDelegate; |
24 | 24 |
25 namespace viewer { | 25 namespace viewer { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 DistilledPagePrefs::FontFamily font); | 80 DistilledPagePrefs::FontFamily font); |
81 | 81 |
82 // Returns JavaScript corresponding to setting a specific theme. | 82 // Returns JavaScript corresponding to setting a specific theme. |
83 const std::string GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme); | 83 const std::string GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme); |
84 | 84 |
85 } // namespace viewer | 85 } // namespace viewer |
86 | 86 |
87 } // namespace dom_distiller | 87 } // namespace dom_distiller |
88 | 88 |
89 #endif // COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ | 89 #endif // COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ |
OLD | NEW |