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

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

Issue 240243004: Update HTMLElement.dir / Document.dir to return only known values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use fastGetAttribute Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/HTMLElement.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 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 virtual bool draggable() const; 59 virtual bool draggable() const;
60 void setDraggable(bool); 60 void setDraggable(bool);
61 61
62 bool spellcheck() const; 62 bool spellcheck() const;
63 void setSpellcheck(bool); 63 void setSpellcheck(bool);
64 64
65 bool translate() const; 65 bool translate() const;
66 void setTranslate(bool); 66 void setTranslate(bool);
67 67
68 const AtomicString& dir();
69 void setDir(const AtomicString&);
70
68 void click(); 71 void click();
69 72
70 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; 73 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE;
71 74
72 bool ieForbidsInsertHTML() const; 75 bool ieForbidsInsertHTML() const;
73 76
74 virtual HTMLFormElement* formOwner() const { return 0; } 77 virtual HTMLFormElement* formOwner() const { return 0; }
75 78
76 HTMLFormElement* findFormAncestor() const; 79 HTMLFormElement* findFormAncestor() const;
77 80
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r eturn is##thisType(node.get()); } \ 154 template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { r eturn is##thisType(node.get()); } \
152 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur n is##thisType(node.get()); } \ 155 template<typename T> inline bool is##thisType(const RefPtr<T>& node) { retur n is##thisType(node.get()); } \
153 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e lement) { return is##thisType(element); } \ 156 template <> inline bool isElementOfType<const thisType>(const HTMLElement& e lement) { return is##thisType(element); } \
154 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 157 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
155 158
156 } // namespace WebCore 159 } // namespace WebCore
157 160
158 #include "HTMLElementTypeHelpers.h" 161 #include "HTMLElementTypeHelpers.h"
159 162
160 #endif // HTMLElement_h 163 #endif // HTMLElement_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698