OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_HTML_VIEWER_WEB_PREFERENCES_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ |
6 #define COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "build/build_config.h" |
12 #include "net/base/network_change_notifier.h" | 13 #include "net/base/network_change_notifier.h" |
13 #include "ui/base/touch/touch_device.h" | 14 #include "ui/base/touch/touch_device.h" |
14 #include "ui/base/ui_base_switches_util.h" | 15 #include "ui/base/ui_base_switches_util.h" |
15 | 16 |
16 #if defined(OS_ANDROID) | 17 #if defined(OS_ANDROID) |
17 #include "url/gurl.h" | 18 #include "url/gurl.h" |
18 #endif | 19 #endif |
19 | 20 |
20 #if defined(OS_LINUX) | 21 #if defined(OS_LINUX) |
21 #include "third_party/WebKit/public/web/linux/WebFontRendering.h" | 22 #include "third_party/WebKit/public/web/linux/WebFontRendering.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 // We try to keep the default values the same as the default values in | 221 // We try to keep the default values the same as the default values in |
221 // chrome, except for the cases where it would require lots of extra work for | 222 // chrome, except for the cases where it would require lots of extra work for |
222 // the embedder to use the same default value. | 223 // the embedder to use the same default value. |
223 WebPreferences(); | 224 WebPreferences(); |
224 ~WebPreferences(); | 225 ~WebPreferences(); |
225 }; | 226 }; |
226 | 227 |
227 } // namespace html_viewer | 228 } // namespace html_viewer |
228 | 229 |
229 #endif // COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ | 230 #endif // COMPONENTS_HTML_VIEWER_WEB_PREFERENCES_H_ |
OLD | NEW |