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

Unified Diff: sky/engine/core/frame/FrameView.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/frame/FrameView.h ('k') | sky/engine/core/page/ChromeClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/FrameView.cpp
diff --git a/sky/engine/core/frame/FrameView.cpp b/sky/engine/core/frame/FrameView.cpp
index f27fbe0874c1c1caf7d16d8a4c704b09983752e4..60fcc99d36777af1194eab9da5a7f708501f021c 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -366,12 +366,6 @@ AtomicString FrameView::mediaType() const
return m_mediaType;
}
-bool FrameView::shouldSetCursor() const
-{
- Page* page = frame().page();
- return page && page->visibilityState() != PageVisibilityStateHidden && page->focusController().isActive() && page->settings().deviceSupportsMouse();
-}
-
// FIXME(sky): remove
IntSize FrameView::layoutSize() const
{
@@ -754,14 +748,6 @@ bool FrameView::isFlippedDocument() const
return false;
}
-void FrameView::setCursor(const Cursor& cursor)
-{
- Page* page = frame().page();
- if (!page || !page->settings().deviceSupportsMouse())
- return;
- page->setCursor(cursor);
-}
-
void FrameView::setLayoutSizeInternal(const IntSize& size)
{
if (m_layoutSize == size)
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698