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

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

Issue 1076623002: Remove our impressive amount of CSS Cursor code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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/Page.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/Page.cpp
diff --git a/sky/engine/core/page/Page.cpp b/sky/engine/core/page/Page.cpp
index e4f5bde8379242e89d721a0f4f30b914e098ce7a..d762f5c1aad9034ec389e94373af4e3f07a23fca 100644
--- a/sky/engine/core/page/Page.cpp
+++ b/sky/engine/core/page/Page.cpp
@@ -75,7 +75,6 @@ Page::Page(PageClients& pageClients, ServiceProvider* services)
, m_deviceScaleFactor(1)
, m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
, m_visibilityState(PageVisibilityStateVisible)
- , m_isCursorVisible(true)
#if ENABLE(ASSERT)
, m_isPainting(false)
#endif
@@ -184,11 +183,6 @@ PageVisibilityState Page::visibilityState() const
return m_visibilityState;
}
-bool Page::isCursorVisible() const
-{
- return m_isCursorVisible && settings().deviceSupportsMouse();
-}
-
void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observer)
{
m_multisamplingChangedObservers.add(observer);
@@ -320,11 +314,6 @@ void Page::scheduleVisualUpdate()
m_chromeClient->scheduleVisualUpdate();
}
-void Page::setCursor(const Cursor& cursor)
-{
- m_chromeClient->setCursor(cursor);
-}
-
bool Page::shouldReportDetailedMessageForSource(const String& source)
{
return m_chromeClient->shouldReportDetailedMessageForSource(source);
« no previous file with comments | « sky/engine/core/page/Page.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698