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

Unified Diff: sky/engine/core/frame/FrameView.cpp

Issue 688213002: First pass at removing dead vertical writing mode code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/editing/VisibleUnits.cpp ('k') | sky/engine/core/frame/LocalFrame.cpp » ('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 2ad01bdae9a5acfe067cbc2eb65c50e573ef5dfe..3363f9ace860421bf5cffb7724d3b5a69486175f 100644
--- a/sky/engine/core/frame/FrameView.cpp
+++ b/sky/engine/core/frame/FrameView.cpp
@@ -1134,20 +1134,14 @@ bool FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent)
bool FrameView::isVerticalDocument() const
{
- RenderView* renderView = this->renderView();
- if (!renderView)
- return true;
-
- return renderView->style()->isHorizontalWritingMode();
+ // FIXME(sky): Remove
+ return true;
}
bool FrameView::isFlippedDocument() const
{
- RenderView* renderView = this->renderView();
- if (!renderView)
- return false;
-
- return renderView->style()->isFlippedBlocksWritingMode();
+ // FIXME(sky): Remove
+ return false;
}
void FrameView::setCursor(const Cursor& cursor)
« no previous file with comments | « sky/engine/core/editing/VisibleUnits.cpp ('k') | sky/engine/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698