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

Unified Diff: Source/WebKit/chromium/public/WebViewClient.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/WebViewClient.h
diff --git a/Source/WebKit/chromium/public/WebViewClient.h b/Source/WebKit/chromium/public/WebViewClient.h
index 039d49df37b6d6f3930b95c78d750b9e2b2d3c76..5c912da927257cffa0cca4d58eeaccc515ffd672 100644
--- a/Source/WebKit/chromium/public/WebViewClient.h
+++ b/Source/WebKit/chromium/public/WebViewClient.h
@@ -248,6 +248,9 @@ public:
virtual void numberOfWheelEventHandlersChanged(unsigned) { }
+ // Call when the size of the view automatically changed.
levin 2011/11/30 12:03:47 Should be "called".
+ virtual void autoSizeChanged(const WebSize&) { }
darin (slow to review) 2011/11/30 23:29:05 Why do we need this? Isn't WebWidgetClient::setSi
levin 2011/12/01 20:23:45 You're right. It was old cruft laying around (part
+
// Indicates two things:
// 1) This view may have a new layout now.
// 2) Calling layout() is a no-op.

Powered by Google App Engine
This is Rietveld 408576698