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

Unified Diff: Source/core/page/ChromeClient.h

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/core/loader/EmptyClients.h ('k') | Source/core/page/ChromeClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/ChromeClient.h
diff --git a/Source/core/page/ChromeClient.h b/Source/core/page/ChromeClient.h
index 6db798330fe532f660984b82be14d23d9b7f28ad..7000333eaa0284934f1a134a0004ef225ea42db8 100644
--- a/Source/core/page/ChromeClient.h
+++ b/Source/core/page/ChromeClient.h
@@ -136,9 +136,9 @@ public:
// Methods used by HostWindow.
virtual WebScreenInfo screenInfo() const = 0;
- void setCursor(const Cursor&);
+ virtual void setCursor(const Cursor&) = 0;
// End methods used by HostWindow.
- Cursor getLastSetCursorForTesting() const;
+ virtual Cursor lastSetCursorForTesting() const = 0;
virtual void scheduleAnimationForFrame(LocalFrame*) { }
@@ -254,13 +254,10 @@ protected:
virtual bool runJavaScriptConfirmInternal(LocalFrame*, const String&) = 0;
virtual bool runJavaScriptPromptInternal(LocalFrame*, const String& message, const String& defaultValue, String& result) = 0;
virtual void printInternal(LocalFrame*) = 0;
- virtual void setCursorInternal(const Cursor&) = 0;
private:
bool canRunModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const String& message);
void setToolTip(const HitTestResult&);
-
- Cursor m_lastSetMouseCursorForTesting;
};
} // namespace blink
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/ChromeClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698