| 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) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@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 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 using namespace HTMLNames; | 43 using namespace HTMLNames; |
| 44 | 44 |
| 45 HTMLAnchorElement::HTMLAnchorElement(const QualifiedName& tagName, Document& doc
ument) | 45 HTMLAnchorElement::HTMLAnchorElement(const QualifiedName& tagName, Document& doc
ument) |
| 46 : HTMLElement(tagName, document) | 46 : HTMLElement(tagName, document) |
| 47 , m_linkRelations(0) | 47 , m_linkRelations(0) |
| 48 , m_cachedVisitedLinkHash(0) | 48 , m_cachedVisitedLinkHash(0) |
| 49 , m_wasFocusedByMouse(false) | 49 , m_wasFocusedByMouse(false) |
| 50 { | 50 { |
| 51 } | 51 } |
| 52 | 52 |
| 53 PassRefPtrWillBeRawPtr<HTMLAnchorElement> HTMLAnchorElement::create(Document& do
cument) | 53 RawPtr<HTMLAnchorElement> HTMLAnchorElement::create(Document& document) |
| 54 { | 54 { |
| 55 return adoptRefWillBeNoop(new HTMLAnchorElement(aTag, document)); | 55 return new HTMLAnchorElement(aTag, document); |
| 56 } | 56 } |
| 57 | 57 |
| 58 HTMLAnchorElement::~HTMLAnchorElement() | 58 HTMLAnchorElement::~HTMLAnchorElement() |
| 59 { | 59 { |
| 60 } | 60 } |
| 61 | 61 |
| 62 bool HTMLAnchorElement::supportsFocus() const | 62 bool HTMLAnchorElement::supportsFocus() const |
| 63 { | 63 { |
| 64 if (hasEditableStyle()) | 64 if (hasEditableStyle()) |
| 65 return HTMLElement::supportsFocus(); | 65 return HTMLElement::supportsFocus(); |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 } | 382 } |
| 383 | 383 |
| 384 Node::InsertionNotificationRequest HTMLAnchorElement::insertedInto(ContainerNode
* insertionPoint) | 384 Node::InsertionNotificationRequest HTMLAnchorElement::insertedInto(ContainerNode
* insertionPoint) |
| 385 { | 385 { |
| 386 InsertionNotificationRequest request = HTMLElement::insertedInto(insertionPo
int); | 386 InsertionNotificationRequest request = HTMLElement::insertedInto(insertionPo
int); |
| 387 logAddElementIfIsolatedWorldAndInDocument("a", hrefAttr); | 387 logAddElementIfIsolatedWorldAndInDocument("a", hrefAttr); |
| 388 return request; | 388 return request; |
| 389 } | 389 } |
| 390 | 390 |
| 391 } // namespace blink | 391 } // namespace blink |
| OLD | NEW |