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

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

Issue 11572041: [content shell] implement additional URL handling methods of the WebTestDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_messages.h ('k') | content/shell/webkit_test_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 static WebKitTestController* instance_; 106 static WebKitTestController* instance_;
107 107
108 void CaptureDump(); 108 void CaptureDump();
109 void TimeoutHandler(); 109 void TimeoutHandler();
110 110
111 // Message handlers. 111 // Message handlers.
112 void OnDidFinishLoad(); 112 void OnDidFinishLoad();
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 OnReadFileToString(const FilePath& file_path, std::string* contents);
116 void OnOverridePreferences(const ShellWebPreferences& prefs); 117 void OnOverridePreferences(const ShellWebPreferences& prefs);
117 void OnNotifyDone(); 118 void OnNotifyDone();
118 void OnDumpAsText(); 119 void OnDumpAsText();
119 void OnDumpChildFramesAsText(); 120 void OnDumpChildFramesAsText();
120 void OnSetPrinting(); 121 void OnSetPrinting();
121 void OnSetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page); 122 void OnSetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page);
122 void OnWaitUntilDone(); 123 void OnWaitUntilDone();
123 void OnCanOpenWindows(); 124 void OnCanOpenWindows();
124 void OnShowWebInspector(); 125 void OnShowWebInspector();
125 void OnCloseWebInspector(); 126 void OnCloseWebInspector();
(...skipping 29 matching lines...) Expand all
155 // Access to the following variables needs to be guarded by |lock_|. 156 // Access to the following variables needs to be guarded by |lock_|.
156 mutable base::Lock lock_; 157 mutable base::Lock lock_;
157 bool can_open_windows_; 158 bool can_open_windows_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); 160 DISALLOW_COPY_AND_ASSIGN(WebKitTestController);
160 }; 161 };
161 162
162 } // namespace content 163 } // namespace content
163 164
164 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_ 165 #endif // CONTENT_SHELL_WEBKIT_TEST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/shell/shell_messages.h ('k') | content/shell/webkit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698