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

Side by Side Diff: Tools/DumpRenderTree/chromium/WebViewHost.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void postDelayedTask(WebTestRunner::WebTask*, long long ms) OVERRIDE ; 94 virtual void postDelayedTask(WebTestRunner::WebTask*, long long ms) OVERRIDE ;
95 virtual WebKit::WebString registerIsolatedFileSystem(const WebKit::WebVector <WebKit::WebString>& absoluteFilenames) OVERRIDE; 95 virtual WebKit::WebString registerIsolatedFileSystem(const WebKit::WebVector <WebKit::WebString>& absoluteFilenames) OVERRIDE;
96 virtual long long getCurrentTimeInMillisecond() OVERRIDE; 96 virtual long long getCurrentTimeInMillisecond() OVERRIDE;
97 virtual WebKit::WebString getAbsoluteWebStringFromUTF8Path(const std::string & path) OVERRIDE; 97 virtual WebKit::WebString getAbsoluteWebStringFromUTF8Path(const std::string & path) OVERRIDE;
98 virtual WebKit::WebURL localFileToDataURL(const WebKit::WebURL&) OVERRIDE; 98 virtual WebKit::WebURL localFileToDataURL(const WebKit::WebURL&) OVERRIDE;
99 virtual WebKit::WebURL rewriteLayoutTestsURL(const std::string&) OVERRIDE; 99 virtual WebKit::WebURL rewriteLayoutTestsURL(const std::string&) OVERRIDE;
100 virtual WebTestRunner::WebPreferences* preferences() OVERRIDE; 100 virtual WebTestRunner::WebPreferences* preferences() OVERRIDE;
101 virtual void applyPreferences() OVERRIDE; 101 virtual void applyPreferences() OVERRIDE;
102 virtual std::string makeURLErrorDescription(const WebKit::WebURLError&) OVER RIDE; 102 virtual std::string makeURLErrorDescription(const WebKit::WebURLError&) OVER RIDE;
103 virtual void setClientWindowRect(const WebKit::WebRect&) OVERRIDE; 103 virtual void setClientWindowRect(const WebKit::WebRect&) OVERRIDE;
104 virtual void enableAutoResizeMode(const WebKit::WebSize&, const WebKit::WebS ize&) OVERRIDE;
105 virtual void disableAutoResizeMode(const WebKit::WebSize&) OVERRIDE;
104 virtual void showDevTools() OVERRIDE; 106 virtual void showDevTools() OVERRIDE;
105 virtual void closeDevTools() OVERRIDE; 107 virtual void closeDevTools() OVERRIDE;
106 virtual void evaluateInWebInspector(long, const std::string&) OVERRIDE; 108 virtual void evaluateInWebInspector(long, const std::string&) OVERRIDE;
107 virtual void clearAllDatabases() OVERRIDE; 109 virtual void clearAllDatabases() OVERRIDE;
108 virtual void setDatabaseQuota(int) OVERRIDE; 110 virtual void setDatabaseQuota(int) OVERRIDE;
109 virtual void setDeviceScaleFactor(float) OVERRIDE; 111 virtual void setDeviceScaleFactor(float) OVERRIDE;
110 virtual void setFocus(WebTestRunner::WebTestProxyBase*, bool) OVERRIDE; 112 virtual void setFocus(WebTestRunner::WebTestProxyBase*, bool) OVERRIDE;
111 virtual void setAcceptAllCookies(bool) OVERRIDE; 113 virtual void setAcceptAllCookies(bool) OVERRIDE;
112 virtual std::string pathToLocalResource(const std::string& url) OVERRIDE; 114 virtual std::string pathToLocalResource(const std::string& url) OVERRIDE;
113 virtual void setLocale(const std::string&) OVERRIDE; 115 virtual void setLocale(const std::string&) OVERRIDE;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 OwnPtr<TestNavigationController> m_navigationController; 280 OwnPtr<TestNavigationController> m_navigationController;
279 281
280 WebTestRunner::WebTaskList m_taskList; 282 WebTestRunner::WebTaskList m_taskList;
281 Vector<WebKit::WebWidget*> m_popupmenus; 283 Vector<WebKit::WebWidget*> m_popupmenus;
282 284
283 OwnPtr<webkit_support::DRTLayerTreeViewClient> m_layerTreeViewClient; 285 OwnPtr<webkit_support::DRTLayerTreeViewClient> m_layerTreeViewClient;
284 OwnPtr<WebKit::WebLayerTreeView> m_layerTreeView; 286 OwnPtr<WebKit::WebLayerTreeView> m_layerTreeView;
285 }; 287 };
286 288
287 #endif // WebViewHost_h 289 #endif // WebViewHost_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698