| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 { | 1186 { |
| 1187 return localLoadPolicy != FrameLoader::AllowLocalLoadsForLocalOnly; | 1187 return localLoadPolicy != FrameLoader::AllowLocalLoadsForLocalOnly; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 static LocalSchemesMap& localSchemes() | 1190 static LocalSchemesMap& localSchemes() |
| 1191 { | 1191 { |
| 1192 DEFINE_STATIC_LOCAL(LocalSchemesMap, localSchemes, ()); | 1192 DEFINE_STATIC_LOCAL(LocalSchemesMap, localSchemes, ()); |
| 1193 | 1193 |
| 1194 if (localSchemes.isEmpty()) { | 1194 if (localSchemes.isEmpty()) { |
| 1195 localSchemes.add("file"); | 1195 localSchemes.add("file"); |
| 1196 localSchemes.add("chrome-resource"); | 1196 localSchemes.add("chrome-ui"); |
| 1197 #if PLATFORM(MAC) | 1197 #if PLATFORM(MAC) |
| 1198 localSchemes.add("applewebdata"); | 1198 localSchemes.add("applewebdata"); |
| 1199 #endif | 1199 #endif |
| 1200 #if PLATFORM(QT) | 1200 #if PLATFORM(QT) |
| 1201 localSchemes.add("qrc"); | 1201 localSchemes.add("qrc"); |
| 1202 #endif | 1202 #endif |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 return localSchemes; | 1205 return localSchemes; |
| 1206 } | 1206 } |
| (...skipping 4314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5521 m_pendingSourceInLowBandwidthDisplay = String(); | 5521 m_pendingSourceInLowBandwidthDisplay = String(); |
| 5522 m_finishedParsingDuringLowBandwidthDisplay = false; | 5522 m_finishedParsingDuringLowBandwidthDisplay = false; |
| 5523 m_needToSwitchOutLowBandwidthDisplay = false; | 5523 m_needToSwitchOutLowBandwidthDisplay = false; |
| 5524 } | 5524 } |
| 5525 } | 5525 } |
| 5526 } | 5526 } |
| 5527 | 5527 |
| 5528 #endif | 5528 #endif |
| 5529 | 5529 |
| 5530 } // namespace WebCore | 5530 } // namespace WebCore |
| OLD | NEW |