| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Harri Porten (porten@kde.org) | 2 * Copyright (C) 2000 Harri Porten (porten@kde.org) |
| 3 * Copyright (C) 2006 Jon Shier (jshier@iastate.edu) | 3 * Copyright (C) 2006 Jon Shier (jshier@iastate.edu) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights resev
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights resev
ed. |
| 5 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Lesser General Public License for more details. | 15 * Lesser General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
| 18 * License along with this library; if not, write to the Free Software | 18 * License along with this library; if not, write to the Free Software |
| 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
| 20 * USA | 20 * USA |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #include "config.h" | |
| 24 #include "core/page/WindowFeatures.h" | 23 #include "core/page/WindowFeatures.h" |
| 25 | 24 |
| 26 #include "platform/geometry/IntRect.h" | 25 #include "platform/geometry/IntRect.h" |
| 27 #include "wtf/Assertions.h" | 26 #include "wtf/Assertions.h" |
| 28 #include "wtf/MathExtras.h" | 27 #include "wtf/MathExtras.h" |
| 29 #include "wtf/text/StringHash.h" | 28 #include "wtf/text/StringHash.h" |
| 30 | 29 |
| 31 namespace blink { | 30 namespace blink { |
| 32 | 31 |
| 33 // Though isspace() considers \t and \v to be whitespace, Win IE doesn't when pa
rsing window features. | 32 // Though isspace() considers \t and \v to be whitespace, Win IE doesn't when pa
rsing window features. |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 if (separatorPosition != kNotFound) { | 263 if (separatorPosition != kNotFound) { |
| 265 value = featureString.substring(separatorPosition + 1).stripWhiteSpa
ce().lower(); | 264 value = featureString.substring(separatorPosition + 1).stripWhiteSpa
ce().lower(); |
| 266 value = value.left(value.find(' ')); | 265 value = value.left(value.find(' ')); |
| 267 } | 266 } |
| 268 | 267 |
| 269 map.set(key, value); | 268 map.set(key, value); |
| 270 } | 269 } |
| 271 } | 270 } |
| 272 | 271 |
| 273 } // namespace blink | 272 } // namespace blink |
| OLD | NEW |