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

Unified Diff: Source/WebKit/chromium/public/WebView.h

Issue 8714006: Add autoresize capability for Chromium. (Closed) Base URL: http://git.chromium.org/external/WebKit_trimmed.git@master
Patch Set: Created 9 years, 1 month 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: Source/WebKit/chromium/public/WebView.h
diff --git a/Source/WebKit/chromium/public/WebView.h b/Source/WebKit/chromium/public/WebView.h
index 52129807071c00380ce110ddca55f924e6c8de98..706b9194465336dc8bd590bfc62b56b12c1c61da 100644
--- a/Source/WebKit/chromium/public/WebView.h
+++ b/Source/WebKit/chromium/public/WebView.h
@@ -249,6 +249,15 @@ public:
virtual void setFixedLayoutSize(const WebSize&) = 0;
+ // Auto size -----------------------------------------------------------
+
+ // In autosize mode, the view is automatically adjusted to fit the html
+ // content within the given bounds.
+ virtual void enableAutoSizeMode(
+ bool enable,
+ const WebSize& minSize,
+ const WebSize& maxSize) = 0;
+
// Media ---------------------------------------------------------------
// Performs the specified action on the node at the given location.

Powered by Google App Engine
This is Rietveld 408576698