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

Side by Side Diff: Source/core/html/HTMLAnchorElement.h

Issue 266923005: Remove HTMLAnchorElement::create overload (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
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 Library General Public 8 * modify it under the terms of the GNU Library 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.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // RelationPrev = 0x00002000, 50 // RelationPrev = 0x00002000,
51 // RelationSearch = 0x00004000, 51 // RelationSearch = 0x00004000,
52 // RelationSidebar = 0x00008000, 52 // RelationSidebar = 0x00008000,
53 // RelationTag = 0x00010000, 53 // RelationTag = 0x00010000,
54 // RelationUp = 0x00020000, 54 // RelationUp = 0x00020000,
55 }; 55 };
56 56
57 class HTMLAnchorElement : public HTMLElement, public DOMURLUtils { 57 class HTMLAnchorElement : public HTMLElement, public DOMURLUtils {
58 public: 58 public:
59 static PassRefPtr<HTMLAnchorElement> create(Document&); 59 static PassRefPtr<HTMLAnchorElement> create(Document&);
60 static PassRefPtr<HTMLAnchorElement> create(const QualifiedName&, Document&) ;
61 60
62 virtual ~HTMLAnchorElement(); 61 virtual ~HTMLAnchorElement();
63 62
64 KURL href() const; 63 KURL href() const;
65 void setHref(const AtomicString&); 64 void setHref(const AtomicString&);
66 65
67 const AtomicString& name() const; 66 const AtomicString& name() const;
68 67
69 virtual KURL url() const OVERRIDE FINAL; 68 virtual KURL url() const OVERRIDE FINAL;
70 virtual void setURL(const KURL&) OVERRIDE FINAL; 69 virtual void setURL(const KURL&) OVERRIDE FINAL;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 122 }
124 123
125 // Functions shared with the other anchor elements (i.e., SVG). 124 // Functions shared with the other anchor elements (i.e., SVG).
126 125
127 bool isEnterKeyKeydownEvent(Event*); 126 bool isEnterKeyKeydownEvent(Event*);
128 bool isLinkClick(Event*); 127 bool isLinkClick(Event*);
129 128
130 } // namespace WebCore 129 } // namespace WebCore
131 130
132 #endif // HTMLAnchorElement_h 131 #endif // HTMLAnchorElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698