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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 408143007: Revert r169180 (https://codereview.chromium.org/150733002) in M36.1985 branch, due to layout proble… (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
Patch Set: Created 6 years, 5 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/frame/FrameView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
===================================================================
--- Source/core/frame/FrameView.cpp (revision 178687)
+++ Source/core/frame/FrameView.cpp (working copy)
@@ -1320,25 +1320,6 @@
}
}
-bool FrameView::shouldPlaceVerticalScrollbarOnLeft() const
-{
- // FIXME: Mainframe scrollbar placement should respect the embedding application RTL UI policy.
- // See crbug.com/249860.
- if (m_frame->isMainFrame())
- return false;
-
- Document* document = m_frame->document();
- if (!document)
- return false;
-
- // <body> inherits 'direction' from <html>, so it can safaly be used
- // to dictate the frame vertical scrollbar placement.
- if (!document->body() || !document->body()->renderer())
- return false;
-
- return document->body()->renderer()->style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft();
-}
-
IntSize FrameView::scrollOffsetForFixedPosition() const
{
return toIntSize(clampScrollPosition(scrollPosition()));
« no previous file with comments | « Source/core/frame/FrameView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698