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

Side by Side Diff: Source/core/rendering/HitTestResult.h

Issue 99333011: Make sure getAttribute() / setAttribute() callers use AtomicStrings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/HitTestResult.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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void setInnerNonSharedNode(Node*); 93 void setInnerNonSharedNode(Node*);
94 void setURLElement(Element*); 94 void setURLElement(Element*);
95 void setScrollbar(Scrollbar*); 95 void setScrollbar(Scrollbar*);
96 void setIsFirstLetter(bool b) { m_isFirstLetter = b; } 96 void setIsFirstLetter(bool b) { m_isFirstLetter = b; }
97 void setIsOverWidget(bool b) { m_isOverWidget = b; } 97 void setIsOverWidget(bool b) { m_isOverWidget = b; }
98 98
99 Frame* targetFrame() const; 99 Frame* targetFrame() const;
100 bool isSelected() const; 100 bool isSelected() const;
101 String spellingToolTip(TextDirection&) const; 101 String spellingToolTip(TextDirection&) const;
102 String title(TextDirection&) const; 102 String title(TextDirection&) const;
103 String altDisplayString() const; 103 const AtomicString& altDisplayString() const;
104 String titleDisplayString() const; 104 String titleDisplayString() const;
105 Image* image() const; 105 Image* image() const;
106 IntRect imageRect() const; 106 IntRect imageRect() const;
107 KURL absoluteImageURL() const; 107 KURL absoluteImageURL() const;
108 KURL absoluteMediaURL() const; 108 KURL absoluteMediaURL() const;
109 KURL absoluteLinkURL() const; 109 KURL absoluteLinkURL() const;
110 String textContent() const; 110 String textContent() const;
111 bool isLiveLink() const; 111 bool isLiveLink() const;
112 bool isMisspelled() const; 112 bool isMisspelled() const;
113 bool isContentEditable() const; 113 bool isContentEditable() const;
(...skipping 28 matching lines...) Expand all
142 RefPtr<Scrollbar> m_scrollbar; 142 RefPtr<Scrollbar> m_scrollbar;
143 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a RenderWidget for example). 143 bool m_isOverWidget; // Returns true if we are over a widget (and not in the border/padding area of a RenderWidget for example).
144 bool m_isFirstLetter; 144 bool m_isFirstLetter;
145 145
146 mutable OwnPtr<NodeSet> m_rectBasedTestResult; 146 mutable OwnPtr<NodeSet> m_rectBasedTestResult;
147 }; 147 };
148 148
149 } // namespace WebCore 149 } // namespace WebCore
150 150
151 #endif // HitTestResult_h 151 #endif // HitTestResult_h
OLDNEW
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/rendering/HitTestResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698