| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) | 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) |
| 7 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| 11 * License as published by the Free Software Foundation; either | 11 * License as published by the Free Software Foundation; either |
| 12 * version 2 of the License, or (at your option) any later version. | 12 * version 2 of the License, or (at your option) any later version. |
| 13 * | 13 * |
| 14 * This library is distributed in the hope that it will be useful, | 14 * This library is distributed in the hope that it will be useful, |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 * Library General Public License for more details. | 17 * Library General Public License for more details. |
| 18 * | 18 * |
| 19 * You should have received a copy of the GNU Library General Public License | 19 * You should have received a copy of the GNU Library General Public License |
| 20 * along with this library; see the file COPYING.LIB. If not, write to | 20 * along with this library; see the file COPYING.LIB. If not, write to |
| 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 #include "HTMLLinkElement.h" | 26 #include "HTMLLinkElement.h" |
| 27 | 27 |
| 28 #include "Attribute.h" | 28 #include "Attribute.h" |
| 29 #include "CachedCSSStyleSheet.h" | |
| 30 #include "CachedResource.h" | |
| 31 #include "CachedResourceLoader.h" | |
| 32 #include "CachedResourceRequest.h" | |
| 33 #include "Document.h" | 29 #include "Document.h" |
| 34 #include "DocumentStyleSheetCollection.h" | 30 #include "DocumentStyleSheetCollection.h" |
| 35 #include "Event.h" | 31 #include "Event.h" |
| 36 #include "EventSender.h" | 32 #include "EventSender.h" |
| 37 #include "Frame.h" | 33 #include "Frame.h" |
| 38 #include "FrameTree.h" | 34 #include "FrameTree.h" |
| 39 #include "FrameView.h" | 35 #include "FrameView.h" |
| 40 #include "HTMLNames.h" | 36 #include "HTMLNames.h" |
| 41 #include "HTMLParserIdioms.h" | 37 #include "HTMLParserIdioms.h" |
| 42 #include "MediaList.h" | 38 #include "MediaList.h" |
| 43 #include "MediaQueryEvaluator.h" | 39 #include "MediaQueryEvaluator.h" |
| 44 #include "Page.h" | 40 #include "Page.h" |
| 45 #include "ScriptEventListener.h" | 41 #include "ScriptEventListener.h" |
| 46 #include "SecurityOrigin.h" | 42 #include "SecurityOrigin.h" |
| 47 #include "Settings.h" | 43 #include "Settings.h" |
| 48 #include "StyleResolver.h" | 44 #include "StyleResolver.h" |
| 49 #include "StyleSheetContents.h" | 45 #include "StyleSheetContents.h" |
| 50 #include "core/loader/FrameLoader.h" | 46 #include "core/loader/FrameLoader.h" |
| 51 #include "core/loader/FrameLoaderClient.h" | 47 #include "core/loader/FrameLoaderClient.h" |
| 48 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 49 #include "core/loader/cache/CachedResource.h" |
| 50 #include "core/loader/cache/CachedResourceLoader.h" |
| 51 #include "core/loader/cache/CachedResourceRequest.h" |
| 52 #include <wtf/StdLibExtras.h> | 52 #include <wtf/StdLibExtras.h> |
| 53 | 53 |
| 54 namespace WebCore { | 54 namespace WebCore { |
| 55 | 55 |
| 56 using namespace HTMLNames; | 56 using namespace HTMLNames; |
| 57 | 57 |
| 58 static LinkEventSender& linkLoadEventSender() | 58 static LinkEventSender& linkLoadEventSender() |
| 59 { | 59 { |
| 60 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo
adEvent)); | 60 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo
adEvent)); |
| 61 return sharedLoadEventSender; | 61 return sharedLoadEventSender; |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 { | 508 { |
| 509 return m_sizes.get(); | 509 return m_sizes.get(); |
| 510 } | 510 } |
| 511 | 511 |
| 512 void HTMLLinkElement::setSizes(const String& value) | 512 void HTMLLinkElement::setSizes(const String& value) |
| 513 { | 513 { |
| 514 m_sizes->setValue(value); | 514 m_sizes->setValue(value); |
| 515 } | 515 } |
| 516 | 516 |
| 517 } // namespace WebCore | 517 } // namespace WebCore |
| OLD | NEW |