Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.h ('k') | third_party/WebKit/Source/core/html/HTMLAudioElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698