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

Side by Side Diff: content/shell/renderer/test_runner/WebTestProxy.h

Issue 200663002: Add 'waitUntilExternalURLLoad' method to TestRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 bool isPointerLocked(); 160 bool isPointerLocked();
161 void didFocus(); 161 void didFocus();
162 void didBlur(); 162 void didBlur();
163 void setToolTipText(const blink::WebString&, blink::WebTextDirection); 163 void setToolTipText(const blink::WebString&, blink::WebTextDirection);
164 void didAddMessageToConsole(const blink::WebConsoleMessage&, const blink::We bString& sourceName, unsigned sourceLine); 164 void didAddMessageToConsole(const blink::WebConsoleMessage&, const blink::We bString& sourceName, unsigned sourceLine);
165 void runModalAlertDialog(blink::WebFrame*, const blink::WebString&); 165 void runModalAlertDialog(blink::WebFrame*, const blink::WebString&);
166 bool runModalConfirmDialog(blink::WebFrame*, const blink::WebString&); 166 bool runModalConfirmDialog(blink::WebFrame*, const blink::WebString&);
167 bool runModalPromptDialog(blink::WebFrame*, const blink::WebString& message, const blink::WebString& defaultValue, blink::WebString* actualValue); 167 bool runModalPromptDialog(blink::WebFrame*, const blink::WebString& message, const blink::WebString& defaultValue, blink::WebString* actualValue);
168 bool runModalBeforeUnloadDialog(blink::WebFrame*, const blink::WebString&); 168 bool runModalBeforeUnloadDialog(blink::WebFrame*, const blink::WebString&);
169 169
170 void loadURLExternally(blink::WebFrame* frame, const blink::WebURLRequest& r equest, blink::WebNavigationPolicy policy, const blink::WebString& suggested_nam e);
170 void didStartProvisionalLoad(blink::WebFrame*); 171 void didStartProvisionalLoad(blink::WebFrame*);
171 void didReceiveServerRedirectForProvisionalLoad(blink::WebFrame*); 172 void didReceiveServerRedirectForProvisionalLoad(blink::WebFrame*);
172 bool didFailProvisionalLoad(blink::WebFrame*, const blink::WebURLError&); 173 bool didFailProvisionalLoad(blink::WebFrame*, const blink::WebURLError&);
173 void didCommitProvisionalLoad(blink::WebFrame*, bool isNewNavigation); 174 void didCommitProvisionalLoad(blink::WebFrame*, bool isNewNavigation);
174 void didReceiveTitle(blink::WebFrame*, const blink::WebString& title, blink: :WebTextDirection); 175 void didReceiveTitle(blink::WebFrame*, const blink::WebString& title, blink: :WebTextDirection);
175 void didChangeIcon(blink::WebFrame*, blink::WebIconURL::Type); 176 void didChangeIcon(blink::WebFrame*, blink::WebIconURL::Type);
176 void didFinishDocumentLoad(blink::WebFrame*); 177 void didFinishDocumentLoad(blink::WebFrame*);
177 void didHandleOnloadEvents(blink::WebFrame*); 178 void didHandleOnloadEvents(blink::WebFrame*);
178 void didFailLoad(blink::WebFrame*, const blink::WebURLError&); 179 void didFailLoad(blink::WebFrame*, const blink::WebURLError&);
179 void didFinishLoad(blink::WebFrame*); 180 void didFinishLoad(blink::WebFrame*);
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 WebTestProxyBase::postSpellCheckEvent(eventName); 513 WebTestProxyBase::postSpellCheckEvent(eventName);
513 } 514 }
514 515
515 private: 516 private:
516 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); 517 DISALLOW_COPY_AND_ASSIGN(WebTestProxy);
517 }; 518 };
518 519
519 } 520 }
520 521
521 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_ 522 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTPROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698