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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 1957103002: Exclude scrollbars from visual viewport dimensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test description Created 4 years, 7 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/platform/scroll/ScrollableArea.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
index 87912f4dc4075a9a6434fa63c0f0d6473ea73688..35f9ac35f9b5258e3072e71fc4d0cfd817e94bdb 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -268,6 +268,9 @@ public:
// Subtracts space occupied by this ScrollableArea's scrollbars.
// Does nothing if overlay scrollbars are enabled.
IntSize excludeScrollbars(const IntSize&) const;
+ // Returns 0 if overlay scrollbars are enabled.
jbroman 2016/05/13 17:28:25 nit: blank line before this, please
ymalik 2016/05/13 18:26:44 Done.
+ int verticalScrollbarWidth() const;
+ int horizontalScrollbarHeight() const;
// Returns the widget associated with this ScrollableArea.
virtual Widget* getWidget() { return nullptr; }

Powered by Google App Engine
This is Rietveld 408576698