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

Unified Diff: Source/web/InspectorOverlayImpl.cpp

Issue 1310533007: Devtools[LayoutEditor]: show resizer cursor over anchors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« Source/web/ChromeClientImpl.cpp ('K') | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorOverlayImpl.cpp
diff --git a/Source/web/InspectorOverlayImpl.cpp b/Source/web/InspectorOverlayImpl.cpp
index 856dc26a7cfca1288a6509b9f0823969e939516c..7cb12a7d9bdd7f8e982e199c5e06b3c913a8602f 100644
--- a/Source/web/InspectorOverlayImpl.cpp
+++ b/Source/web/InspectorOverlayImpl.cpp
@@ -132,7 +132,10 @@ public:
void setCursor(const Cursor& cursor) override
{
- m_client->setCursor(cursor);
+ if (cursor.type() != Cursor::Pointer)
pfeldman 2015/08/26 21:08:42 Why is this check here?
+ toChromeClientImpl(m_client)->setCursorOverride(adoptPtr(new Cursor(cursor)));
+ else
+ toChromeClientImpl(m_client)->setCursorOverride(nullptr);
}
void setToolTip(const String& tooltip, TextDirection direction) override
« Source/web/ChromeClientImpl.cpp ('K') | « Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698