OLD | NEW |
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 // A struct for managing webkit's settings. | 5 // A struct for managing webkit's settings. |
6 // | 6 // |
7 // Adding new values to this class probably involves updating | 7 // Adding new values to this class probably involves updating |
8 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ | 8 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ |
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. | 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. |
10 | 10 |
11 #ifndef WEBKIT_COMMON_WEBPREFERENCES_H__ | 11 #ifndef WEBKIT_COMMON_WEBPREFERENCES_H__ |
12 #define WEBKIT_COMMON_WEBPREFERENCES_H__ | 12 #define WEBKIT_COMMON_WEBPREFERENCES_H__ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/strings/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 #include "webkit/common/webkit_common_export.h" | 20 #include "webkit/common/webkit_common_export.h" |
21 | 21 |
22 namespace WebKit { | 22 namespace blink { |
23 class WebView; | 23 class WebView; |
24 } | 24 } |
25 | 25 |
26 struct WebPreferences; | 26 struct WebPreferences; |
27 | 27 |
28 namespace webkit_glue { | 28 namespace webkit_glue { |
29 | 29 |
30 // Map of ISO 15924 four-letter script code to font family. For example, | 30 // Map of ISO 15924 four-letter script code to font family. For example, |
31 // "Arab" to "My Arabic Font". | 31 // "Arab" to "My Arabic Font". |
32 typedef std::map<std::string, base::string16> ScriptFontFamilyMap; | 32 typedef std::map<std::string, base::string16> ScriptFontFamilyMap; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 #endif | 186 #endif |
187 | 187 |
188 // We try to keep the default values the same as the default values in | 188 // We try to keep the default values the same as the default values in |
189 // chrome, except for the cases where it would require lots of extra work for | 189 // chrome, except for the cases where it would require lots of extra work for |
190 // the embedder to use the same default value. | 190 // the embedder to use the same default value. |
191 WebPreferences(); | 191 WebPreferences(); |
192 ~WebPreferences(); | 192 ~WebPreferences(); |
193 }; | 193 }; |
194 | 194 |
195 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ | 195 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ |
OLD | NEW |