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 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. |
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. | 6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 event->setDefaultHandled(); | 983 event->setDefaultHandled(); |
984 } | 984 } |
985 } | 985 } |
986 | 986 |
987 const AtomicString& HTMLElement::eventParameterName() | 987 const AtomicString& HTMLElement::eventParameterName() |
988 { | 988 { |
989 DEFINE_STATIC_LOCAL(const AtomicString, eventString, ("event", AtomicString:
:ConstructFromLiteral)); | 989 DEFINE_STATIC_LOCAL(const AtomicString, eventString, ("event", AtomicString:
:ConstructFromLiteral)); |
990 return eventString; | 990 return eventString; |
991 } | 991 } |
992 | 992 |
993 v8::Handle<v8::Object> HTMLElement::wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate* isolate) | |
994 { | |
995 return createV8HTMLWrapper(this, creationContext, isolate); | |
996 } | |
997 | |
998 } // namespace blink | 993 } // namespace blink |
999 | 994 |
1000 #ifndef NDEBUG | 995 #ifndef NDEBUG |
1001 | 996 |
1002 // For use in the debugger | 997 // For use in the debugger |
1003 void dumpInnerHTML(blink::HTMLElement*); | 998 void dumpInnerHTML(blink::HTMLElement*); |
1004 | 999 |
1005 void dumpInnerHTML(blink::HTMLElement* element) | 1000 void dumpInnerHTML(blink::HTMLElement* element) |
1006 { | 1001 { |
1007 printf("%s\n", element->innerHTML().ascii().data()); | 1002 printf("%s\n", element->innerHTML().ascii().data()); |
1008 } | 1003 } |
1009 #endif | 1004 #endif |
OLD | NEW |