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

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: Current patch 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 410280f18d9055a32d5bf53cb4a1e7c342fb7d45..da198c992f273dec0db6f0552d87e59439696f72 100644
--- a/Source/WebKit/chromium/public/WebView.h
+++ b/Source/WebKit/chromium/public/WebView.h
@@ -249,6 +249,16 @@ 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.
« no previous file with comments | « no previous file | Source/WebKit/chromium/public/WebViewClient.h » ('j') | Source/WebKit/chromium/public/WebViewClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698