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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void SetDatabaseQuota(int quota) override; | 90 void SetDatabaseQuota(int quota) override; |
91 void GrantWebNotificationPermission(const GURL& origin, | 91 void GrantWebNotificationPermission(const GURL& origin, |
92 bool permission_granted) override; | 92 bool permission_granted) override; |
93 void ClearWebNotificationPermissions() override; | 93 void ClearWebNotificationPermissions() override; |
94 void SimulateWebNotificationClick(const std::string& title) override; | 94 void SimulateWebNotificationClick(const std::string& title) override; |
95 void SetPushMessagingPermission(const GURL& origin, bool allowed) override; | 95 void SetPushMessagingPermission(const GURL& origin, bool allowed) override; |
96 void ClearPushMessagingPermissions() override; | 96 void ClearPushMessagingPermissions() override; |
97 void SetDeviceScaleFactor(float factor) override; | 97 void SetDeviceScaleFactor(float factor) override; |
98 void SetDeviceColorProfile(const std::string& name) override; | 98 void SetDeviceColorProfile(const std::string& name) override; |
99 void SetBluetoothMockDataSet(const std::string& name) override; | 99 void SetBluetoothMockDataSet(const std::string& name) override; |
| 100 void SetGeofencingMockProvider(bool service_available) override; |
| 101 void ClearGeofencingMockProvider() override; |
| 102 void SetGeofencingMockPosition(double latitude, double longitude) override; |
100 void SetFocus(WebTestProxyBase* proxy, bool focus) override; | 103 void SetFocus(WebTestProxyBase* proxy, bool focus) override; |
101 void SetAcceptAllCookies(bool accept) override; | 104 void SetAcceptAllCookies(bool accept) override; |
102 std::string PathToLocalResource(const std::string& resource) override; | 105 std::string PathToLocalResource(const std::string& resource) override; |
103 void SetLocale(const std::string& locale) override; | 106 void SetLocale(const std::string& locale) override; |
104 void TestFinished() override; | 107 void TestFinished() override; |
105 void CloseRemainingWindows() override; | 108 void CloseRemainingWindows() override; |
106 void DeleteAllCookies() override; | 109 void DeleteAllCookies() override; |
107 int NavigationEntryCount() override; | 110 int NavigationEntryCount() override; |
108 void GoToOffset(int offset) override; | 111 void GoToOffset(int offset) override; |
109 void Reload() override; | 112 void Reload() override; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 157 |
155 scoped_ptr<LeakDetector> leak_detector_; | 158 scoped_ptr<LeakDetector> leak_detector_; |
156 bool needs_leak_detector_; | 159 bool needs_leak_detector_; |
157 | 160 |
158 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); | 161 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |
159 }; | 162 }; |
160 | 163 |
161 } // namespace content | 164 } // namespace content |
162 | 165 |
163 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 166 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
OLD | NEW |