OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/tab_contents/tab_contents.h" | 5 #include "chrome/browser/tab_contents/tab_contents.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 prefs::kWebKitJavaEnabled, | 170 prefs::kWebKitJavaEnabled, |
171 prefs::kWebKitJavascriptEnabled, | 171 prefs::kWebKitJavascriptEnabled, |
172 prefs::kWebKitLoadsImagesAutomatically, | 172 prefs::kWebKitLoadsImagesAutomatically, |
173 prefs::kWebKitPluginsEnabled, | 173 prefs::kWebKitPluginsEnabled, |
174 prefs::kWebKitUsesUniversalDetector, | 174 prefs::kWebKitUsesUniversalDetector, |
175 prefs::kWebKitSerifFontFamily, | 175 prefs::kWebKitSerifFontFamily, |
176 prefs::kWebKitSansSerifFontFamily, | 176 prefs::kWebKitSansSerifFontFamily, |
177 prefs::kWebKitFixedFontFamily, | 177 prefs::kWebKitFixedFontFamily, |
178 prefs::kWebKitDefaultFontSize, | 178 prefs::kWebKitDefaultFontSize, |
179 prefs::kWebKitDefaultFixedFontSize, | 179 prefs::kWebKitDefaultFixedFontSize, |
| 180 prefs::kWebKitMinimumFontSize, |
| 181 prefs::kWebKitMinimumLogicalFontSize, |
180 prefs::kWebkitTabsToLinks, | 182 prefs::kWebkitTabsToLinks, |
181 prefs::kDefaultCharset | 183 prefs::kDefaultCharset |
182 // kWebKitStandardFontIsSerif needs to be added | 184 // kWebKitStandardFontIsSerif needs to be added |
183 // if we let users pick which font to use, serif or sans-serif when | 185 // if we let users pick which font to use, serif or sans-serif when |
184 // no font is specified or a CSS generic family (serif or sans-serif) | 186 // no font is specified or a CSS generic family (serif or sans-serif) |
185 // is not specified. | 187 // is not specified. |
186 }; | 188 }; |
187 | 189 |
188 const int kPrefsToObserveLength = arraysize(kPrefsToObserve); | 190 const int kPrefsToObserveLength = arraysize(kPrefsToObserve); |
189 | 191 |
(...skipping 3096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3286 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); | 3288 AddInfoBar(new SavePasswordInfoBarDelegate(this, form_to_save)); |
3287 } | 3289 } |
3288 | 3290 |
3289 Profile* TabContents::GetProfileForPasswordManager() { | 3291 Profile* TabContents::GetProfileForPasswordManager() { |
3290 return profile(); | 3292 return profile(); |
3291 } | 3293 } |
3292 | 3294 |
3293 bool TabContents::DidLastPageLoadEncounterSSLErrors() { | 3295 bool TabContents::DidLastPageLoadEncounterSSLErrors() { |
3294 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); | 3296 return controller().ssl_manager()->ProcessedSSLErrorFromRequest(); |
3295 } | 3297 } |
OLD | NEW |