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

Unified Diff: sky/engine/core/page/Chrome.cpp

Issue 855803002: Remove attrs sky doesn't support. (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/loader/ImageLoader.cpp ('k') | sky/engine/core/page/EventHandler.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..264050730fc858fe289035462ad1e39cca3d3934 100644
--- a/sky/engine/core/page/Chrome.cpp
+++ b/sky/engine/core/page/Chrome.cpp
@@ -106,16 +106,13 @@ void Chrome::mouseDidMoveOverElement(const HitTestResult& result, unsigned modif
m_client->mouseDidMoveOverElement(result, modifierFlags);
}
+// TODO(esprehn): Remove this in sky.
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);
}
« no previous file with comments | « sky/engine/core/loader/ImageLoader.cpp ('k') | sky/engine/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698