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

Unified Diff: sky/engine/core/rendering/HitTestResult.cpp

Issue 830273006: Delete document marker related invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/HitTestResult.h ('k') | sky/engine/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/HitTestResult.cpp
diff --git a/sky/engine/core/rendering/HitTestResult.cpp b/sky/engine/core/rendering/HitTestResult.cpp
index 8e30a7f7008d430ffd07abbcb92129e99b4b2a16..8ef1b6b905d46adcff172e72bc4247c2dd39e1e0 100644
--- a/sky/engine/core/rendering/HitTestResult.cpp
+++ b/sky/engine/core/rendering/HitTestResult.cpp
@@ -157,23 +157,6 @@ bool HitTestResult::isSelected() const
return false;
}
-String HitTestResult::spellingToolTip(TextDirection& dir) const
-{
- dir = LTR;
- // Return the tool tip string associated with this point, if any. Only markers associated with bad grammar
- // currently supply strings, but maybe someday markers associated with misspelled words will also.
- if (!m_innerNonSharedNode)
- return String();
-
- DocumentMarker* marker = m_innerNonSharedNode->document().markers().markerContainingPoint(m_hitTestLocation.point(), DocumentMarker::Grammar);
- if (!marker)
- return String();
-
- if (RenderObject* renderer = m_innerNonSharedNode->renderer())
- dir = renderer->style()->direction();
- return marker->description();
-}
-
String HitTestResult::title(TextDirection& dir) const
{
dir = LTR;
« no previous file with comments | « sky/engine/core/rendering/HitTestResult.h ('k') | sky/engine/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698