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

Unified Diff: content/shell/renderer/test_runner/WebTestProxy.h

Issue 231213002: Move modal dialogs from WebViewClient to WebFrameClient, part 1.5/3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/WebTestProxy.h
diff --git a/content/shell/renderer/test_runner/WebTestProxy.h b/content/shell/renderer/test_runner/WebTestProxy.h
index 9be274b6bf48a5436b8ceac4fab672c1157b5496..fe7a441a2dc509d1afc078c3b7aae68a43c1942c 100644
--- a/content/shell/renderer/test_runner/WebTestProxy.h
+++ b/content/shell/renderer/test_runner/WebTestProxy.h
@@ -167,11 +167,6 @@ protected:
void didBlur();
void setToolTipText(const blink::WebString&, blink::WebTextDirection);
void didAddMessageToConsole(const blink::WebConsoleMessage&, const blink::WebString& sourceName, unsigned sourceLine);
- void runModalAlertDialog(blink::WebLocalFrame*, const blink::WebString&);
- bool runModalConfirmDialog(blink::WebLocalFrame*, const blink::WebString&);
- bool runModalPromptDialog(blink::WebLocalFrame*, const blink::WebString& message, const blink::WebString& defaultValue, blink::WebString* actualValue);
- bool runModalBeforeUnloadDialog(blink::WebLocalFrame*, const blink::WebString&);
-
void didStartProvisionalLoad(blink::WebLocalFrame*);
void didReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame*);
bool didFailProvisionalLoad(blink::WebLocalFrame*, const blink::WebURLError&);
@@ -442,25 +437,6 @@ public:
WebTestProxyBase::didFinishResourceLoad(frame, identifier);
Base::didFinishResourceLoad(frame, identifier);
}
- virtual void runModalAlertDialog(blink::WebLocalFrame* frame, const blink::WebString& message)
- {
- WebTestProxyBase::runModalAlertDialog(frame, message);
- Base::runModalAlertDialog(frame, message);
- }
- virtual bool runModalConfirmDialog(blink::WebLocalFrame* frame, const blink::WebString& message)
- {
- WebTestProxyBase::runModalConfirmDialog(frame, message);
- return Base::runModalConfirmDialog(frame, message);
- }
- virtual bool runModalPromptDialog(blink::WebLocalFrame* frame, const blink::WebString& message, const blink::WebString& defaultValue, blink::WebString* actualValue)
- {
- WebTestProxyBase::runModalPromptDialog(frame, message, defaultValue, actualValue);
- return Base::runModalPromptDialog(frame, message, defaultValue, actualValue);
- }
- virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, const blink::WebString& message)
- {
- return WebTestProxyBase::runModalBeforeUnloadDialog(frame, message);
- }
virtual bool willCheckAndDispatchMessageEvent(blink::WebLocalFrame* sourceFrame, blink::WebFrame* targetFrame, blink::WebSecurityOrigin target, blink::WebDOMMessageEvent event)
{
if (WebTestProxyBase::willCheckAndDispatchMessageEvent(sourceFrame, targetFrame, target, event))
« no previous file with comments | « content/shell/renderer/test_runner/WebFrameTestProxy.h ('k') | content/shell/renderer/test_runner/WebTestProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698