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_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 void TimeoutHandler(); | 110 void TimeoutHandler(); |
111 | 111 |
112 // Message handlers. | 112 // Message handlers. |
113 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image); | 113 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image); |
114 void OnTextDump(const std::string& dump); | 114 void OnTextDump(const std::string& dump); |
115 void OnPrintMessage(const std::string& message); | 115 void OnPrintMessage(const std::string& message); |
116 void OnOverridePreferences(const webkit_glue::WebPreferences& prefs); | 116 void OnOverridePreferences(const webkit_glue::WebPreferences& prefs); |
117 void OnTestFinished(bool did_timeout); | 117 void OnTestFinished(bool did_timeout); |
118 void OnShowDevTools(); | 118 void OnShowDevTools(); |
119 void OnCloseDevTools(); | 119 void OnCloseDevTools(); |
| 120 void OnGoToOffset(int offset); |
| 121 void OnReload(); |
| 122 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); |
120 | 123 |
121 void OnNotImplemented(const std::string& object_name, | 124 void OnNotImplemented(const std::string& object_name, |
122 const std::string& method_name); | 125 const std::string& method_name); |
123 | 126 |
124 scoped_ptr<WebKitTestResultPrinter> printer_; | 127 scoped_ptr<WebKitTestResultPrinter> printer_; |
125 | 128 |
126 base::FilePath current_working_directory_; | 129 base::FilePath current_working_directory_; |
127 | 130 |
128 Shell* main_window_; | 131 Shell* main_window_; |
129 | 132 |
(...skipping 11 matching lines...) Expand all Loading... |
141 base::CancelableClosure watchdog_; | 144 base::CancelableClosure watchdog_; |
142 | 145 |
143 NotificationRegistrar registrar_; | 146 NotificationRegistrar registrar_; |
144 | 147 |
145 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); | 148 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); |
146 }; | 149 }; |
147 | 150 |
148 } // namespace content | 151 } // namespace content |
149 | 152 |
150 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ | 153 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ |
OLD | NEW |