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

Side by Side Diff: content/shell/browser/webkit_test_controller.h

Issue 1079843002: DevTools: allow storing devtools preferences on the browser side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698