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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h

Issue 14776006: Add an interface to WebTestDelegate for auto resizing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « no previous file | Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h
index 1897f55d3e8f09147f2f09f10fafceeb241a3b5e..b6032beb205d58666e9fa8bbd422681510b36486 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h
@@ -45,6 +45,7 @@ class WebHistoryItem;
class WebMediaPlayer;
class WebMediaPlayerClient;
struct WebRect;
+struct WebSize;
struct WebURLError;
}
@@ -99,6 +100,10 @@ public:
// Resizes the WebView to the given size.
virtual void setClientWindowRect(const WebKit::WebRect&) = 0;
+ // Controls auto resize mode.
+ virtual void enableAutoResizeMode(const WebKit::WebSize& minSize, const WebKit::WebSize& maxSize) { }
+ virtual void disableAutoResizeMode(const WebKit::WebSize&) { }
Mike West 2013/05/14 09:17:00 Why not make these pure virtual?
jochen (gone - plz use gerrit) 2013/05/14 09:17:58 can't before the chromium side landed (see the oth
+
// Opens and closes the inspector.
virtual void showDevTools() = 0;
virtual void closeDevTools() = 0;
« no previous file with comments | « no previous file | Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698