OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 const blink::WebSize& max_size) OVERRIDE; | 86 const blink::WebSize& max_size) OVERRIDE; |
87 virtual void disableAutoResizeMode(const blink::WebSize& new_size) OVERRIDE; | 87 virtual void disableAutoResizeMode(const blink::WebSize& new_size) OVERRIDE; |
88 virtual void clearDevToolsLocalStorage() OVERRIDE; | 88 virtual void clearDevToolsLocalStorage() OVERRIDE; |
89 virtual void showDevTools(const std::string& settings, | 89 virtual void showDevTools(const std::string& settings, |
90 const std::string& frontend_url) OVERRIDE; | 90 const std::string& frontend_url) OVERRIDE; |
91 virtual void closeDevTools() OVERRIDE; | 91 virtual void closeDevTools() OVERRIDE; |
92 virtual void evaluateInWebInspector(long call_id, | 92 virtual void evaluateInWebInspector(long call_id, |
93 const std::string& script) OVERRIDE; | 93 const std::string& script) OVERRIDE; |
94 virtual void clearAllDatabases() OVERRIDE; | 94 virtual void clearAllDatabases() OVERRIDE; |
95 virtual void setDatabaseQuota(int quota) OVERRIDE; | 95 virtual void setDatabaseQuota(int quota) OVERRIDE; |
| 96 virtual blink::WebNotificationPresenter::Permission |
| 97 checkWebNotificationPermission(const GURL& origin) OVERRIDE; |
| 98 virtual void grantWebNotificationPermission(const GURL& origin, |
| 99 bool permission_granted) OVERRIDE; |
| 100 virtual void clearWebNotificationPermissions() OVERRIDE; |
96 virtual void setDeviceScaleFactor(float factor) OVERRIDE; | 101 virtual void setDeviceScaleFactor(float factor) OVERRIDE; |
97 virtual void setDeviceColorProfile(const std::string& name) OVERRIDE; | 102 virtual void setDeviceColorProfile(const std::string& name) OVERRIDE; |
98 virtual void setFocus(WebTestProxyBase* proxy, bool focus) OVERRIDE; | 103 virtual void setFocus(WebTestProxyBase* proxy, bool focus) OVERRIDE; |
99 virtual void setAcceptAllCookies(bool accept) OVERRIDE; | 104 virtual void setAcceptAllCookies(bool accept) OVERRIDE; |
100 virtual std::string pathToLocalResource(const std::string& resource) OVERRIDE; | 105 virtual std::string pathToLocalResource(const std::string& resource) OVERRIDE; |
101 virtual void setLocale(const std::string& locale) OVERRIDE; | 106 virtual void setLocale(const std::string& locale) OVERRIDE; |
102 virtual void testFinished() OVERRIDE; | 107 virtual void testFinished() OVERRIDE; |
103 virtual void closeRemainingWindows() OVERRIDE; | 108 virtual void closeRemainingWindows() OVERRIDE; |
104 virtual void deleteAllCookies() OVERRIDE; | 109 virtual void deleteAllCookies() OVERRIDE; |
105 virtual int navigationEntryCount() OVERRIDE; | 110 virtual int navigationEntryCount() OVERRIDE; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 157 |
153 scoped_ptr<LeakDetector> leak_detector_; | 158 scoped_ptr<LeakDetector> leak_detector_; |
154 bool needs_leak_detector_; | 159 bool needs_leak_detector_; |
155 | 160 |
156 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); | 161 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |
157 }; | 162 }; |
158 | 163 |
159 } // namespace content | 164 } // namespace content |
160 | 165 |
161 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 166 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
OLD | NEW |