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

Side by Side Diff: content/shell/renderer/webkit_test_runner.h

Issue 14859017: [content shell] implement auto resize related WebTestDelegate interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const WebKit::WebVector<WebKit::WebString>& absolute_filenames); 64 const WebKit::WebVector<WebKit::WebString>& absolute_filenames);
65 virtual long long getCurrentTimeInMillisecond(); 65 virtual long long getCurrentTimeInMillisecond();
66 virtual WebKit::WebString getAbsoluteWebStringFromUTF8Path( 66 virtual WebKit::WebString getAbsoluteWebStringFromUTF8Path(
67 const std::string& utf8_path); 67 const std::string& utf8_path);
68 virtual WebKit::WebURL localFileToDataURL(const WebKit::WebURL& file_url); 68 virtual WebKit::WebURL localFileToDataURL(const WebKit::WebURL& file_url);
69 virtual WebKit::WebURL rewriteLayoutTestsURL(const std::string& utf8_url); 69 virtual WebKit::WebURL rewriteLayoutTestsURL(const std::string& utf8_url);
70 virtual ::WebTestRunner::WebPreferences* preferences(); 70 virtual ::WebTestRunner::WebPreferences* preferences();
71 virtual void applyPreferences(); 71 virtual void applyPreferences();
72 virtual std::string makeURLErrorDescription(const WebKit::WebURLError& error); 72 virtual std::string makeURLErrorDescription(const WebKit::WebURLError& error);
73 virtual void setClientWindowRect(const WebKit::WebRect& rect); 73 virtual void setClientWindowRect(const WebKit::WebRect& rect);
74 virtual void enableAutoResizeMode(const WebKit::WebSize& min_size,
75 const WebKit::WebSize& max_size);
76 virtual void disableAutoResizeMode(const WebKit::WebSize& new_size);
74 virtual void showDevTools(); 77 virtual void showDevTools();
75 virtual void closeDevTools(); 78 virtual void closeDevTools();
76 virtual void evaluateInWebInspector(long call_id, const std::string& script); 79 virtual void evaluateInWebInspector(long call_id, const std::string& script);
77 virtual void clearAllDatabases(); 80 virtual void clearAllDatabases();
78 virtual void setDatabaseQuota(int quota); 81 virtual void setDatabaseQuota(int quota);
79 virtual void setDeviceScaleFactor(float factor); 82 virtual void setDeviceScaleFactor(float factor);
80 virtual void setFocus(WebTestRunner::WebTestProxyBase* proxy, bool focus); 83 virtual void setFocus(WebTestRunner::WebTestProxyBase* proxy, bool focus);
81 virtual void setAcceptAllCookies(bool accept); 84 virtual void setAcceptAllCookies(bool accept);
82 virtual std::string pathToLocalResource(const std::string& resource); 85 virtual std::string pathToLocalResource(const std::string& resource);
83 virtual void setLocale(const std::string& locale); 86 virtual void setLocale(const std::string& locale);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool focus_on_next_commit_; 140 bool focus_on_next_commit_;
138 141
139 scoped_ptr<webkit_glue::TestMediaStreamClient> test_media_stream_client_; 142 scoped_ptr<webkit_glue::TestMediaStreamClient> test_media_stream_client_;
140 143
141 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); 144 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
142 }; 145 };
143 146
144 } // namespace content 147 } // namespace content
145 148
146 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ 149 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698