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" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
14 #include "components/dom_distiller/core/distilled_page_prefs.h" | 13 #include "components/dom_distiller/core/distilled_page_prefs.h" |
15 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.h" |
16 | 15 |
17 namespace dom_distiller { | 16 namespace dom_distiller { |
18 | 17 |
19 class DistilledArticleProto; | 18 class DistilledArticleProto; |
20 class DistilledPageProto; | 19 class DistilledPageProto; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const std::string GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme); | 93 const std::string GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme); |
95 | 94 |
96 // Returns JavaScript corresponding to setting the font scaling. | 95 // Returns JavaScript corresponding to setting the font scaling. |
97 const std::string GetDistilledPageFontScalingJs(float scaling); | 96 const std::string GetDistilledPageFontScalingJs(float scaling); |
98 | 97 |
99 } // namespace viewer | 98 } // namespace viewer |
100 | 99 |
101 } // namespace dom_distiller | 100 } // namespace dom_distiller |
102 | 101 |
103 #endif // COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ | 102 #endif // COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ |
OLD | NEW |