| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_WEBKIT_TEST_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
| 6 #define CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void SendTestConfiguration(); | 161 void SendTestConfiguration(); |
| 162 | 162 |
| 163 // Message handlers. | 163 // Message handlers. |
| 164 void OnAudioDump(const std::vector<unsigned char>& audio_dump); | 164 void OnAudioDump(const std::vector<unsigned char>& audio_dump); |
| 165 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image); | 165 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image); |
| 166 void OnTextDump(const std::string& dump); | 166 void OnTextDump(const std::string& dump); |
| 167 void OnPrintMessage(const std::string& message); | 167 void OnPrintMessage(const std::string& message); |
| 168 void OnOverridePreferences(const WebPreferences& prefs); | 168 void OnOverridePreferences(const WebPreferences& prefs); |
| 169 void OnTestFinished(); | 169 void OnTestFinished(); |
| 170 void OnClearDevToolsLocalStorage(); | 170 void OnClearDevToolsLocalStorage(); |
| 171 void OnShowDevTools(const std::string& settings, | 171 void OnShowDevTools(const std::string& test_path, |
| 172 const std::string& frontend_url); | 172 const std::string& frontend_url); |
| 173 void OnCloseDevTools(); | 173 void OnCloseDevTools(); |
| 174 void OnGoToOffset(int offset); | 174 void OnGoToOffset(int offset); |
| 175 void OnReload(); | 175 void OnReload(); |
| 176 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); | 176 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); |
| 177 void OnCaptureSessionHistory(); | 177 void OnCaptureSessionHistory(); |
| 178 void OnCloseRemainingWindows(); | 178 void OnCloseRemainingWindows(); |
| 179 void OnResetDone(); | 179 void OnResetDone(); |
| 180 void OnLeakDetectionDone(const content::LeakDetectionResult& result); | 180 void OnLeakDetectionDone(const content::LeakDetectionResult& result); |
| 181 | 181 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // waiting on the UI thread while layout tests are being ran. | 222 // waiting on the UI thread while layout tests are being ran. |
| 223 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; | 223 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; |
| 224 #endif | 224 #endif |
| 225 | 225 |
| 226 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); | 226 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 } // namespace content | 229 } // namespace content |
| 230 | 230 |
| 231 #endif // CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ | 231 #endif // CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
| OLD | NEW |