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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2897033002: Make room for any scrollbars in the content box and border box. (Closed)
Patch Set: Rebaseline tests that got wider/taller objects. Created 3 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
Index: third_party/WebKit/Source/core/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index c44a646e11f309c65e5f02e06d4348738e4dc849..64d091b96b3d8e5d4eee54e1abafc44dcf19a16f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -1018,13 +1018,6 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
: VerticalScrollbarWidth();
}
- // Return the width of the vertical scrollbar, unless it's larger than the
- // logical width of the content box, in which case we'll return that instead.
- // Scrollbar handling is quite bad in such situations, and this method here
- // is just to make sure that left-hand scrollbars don't mess up
- // scrollWidth. For the full story, visit crbug.com/724255
- LayoutUnit VerticalScrollbarWidthClampedToContentBox() const;
-
virtual ScrollResult Scroll(ScrollGranularity, const FloatSize&);
bool CanBeScrolledAndHasScrollableArea() const;
virtual bool CanBeProgramaticallyScrolled() const;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698