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

Unified Diff: sky/engine/core/page/Chrome.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/page/Chrome.h ('k') | sky/engine/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/Chrome.cpp
diff --git a/sky/engine/core/page/Chrome.cpp b/sky/engine/core/page/Chrome.cpp
index 53598806e8697a583580825a4245afb94b5acc1f..573533d0d3ba5e06ea9754ae80f90e135ab42819 100644
--- a/sky/engine/core/page/Chrome.cpp
+++ b/sky/engine/core/page/Chrome.cpp
@@ -106,19 +106,6 @@ void Chrome::mouseDidMoveOverElement(const HitTestResult& result, unsigned modif
m_client->mouseDidMoveOverElement(result, modifierFlags);
}
-void Chrome::setToolTip(const HitTestResult& result)
-{
- // First priority is a potential toolTip representing a spelling or grammar error
- TextDirection toolTipDirection;
- String toolTip = result.spellingToolTip(toolTipDirection);
-
- // Next we'll consider a tooltip for element with "title" attribute
- if (toolTip.isEmpty())
- toolTip = result.title(toolTipDirection);
-
- m_client->setToolTip(toolTip, toolTipDirection);
-}
-
void Chrome::setCursor(const Cursor& cursor)
{
m_client->setCursor(cursor);
« no previous file with comments | « sky/engine/core/page/Chrome.h ('k') | sky/engine/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698