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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2918943002: Move SetCanHaveScrollbars method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 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
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 2d01d5b6cf8b41fcb2ee27a66da16627a9ecbd16..ead2f680d11f066d9c7883ee17ff27b36ba7c0ae 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -572,6 +572,11 @@ class WebLocalFrame : public WebFrame {
// frame is attached to a document.
virtual std::unique_ptr<WebURLLoader> CreateURLLoader() = 0;
+ // Geometry -----------------------------------------------------------------
+
+ // If set to false, do not draw scrollbars on this frame's view.
+ virtual void SetCanHaveScrollbars(bool) = 0;
+
protected:
explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) {}
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698