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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 1143043006: Cleanup: Move ChromeClient::m_lastSetMouseCursorForTesting to ChromeClientImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/web/ChromeClientImpl.h ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index bfbcd3eed06c03578fe50aca2c909028e76ba50a..b55de1bfdb16761196fa724c9c2cbdd9f7b14f6d 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -629,8 +629,14 @@ void ChromeClientImpl::enumerateChosenDirectory(FileChooser* fileChooser)
chooserCompletion->didChooseFile(WebVector<WebString>());
}
-void ChromeClientImpl::setCursorInternal(const Cursor& cursor)
+Cursor ChromeClientImpl::lastSetCursorForTesting() const
{
+ return m_lastSetMouseCursorForTesting;
+}
+
+void ChromeClientImpl::setCursor(const Cursor& cursor)
+{
+ m_lastSetMouseCursorForTesting = cursor;
setCursor(WebCursorInfo(cursor));
}
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698