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

Unified Diff: components/test_runner/web_frame_test_proxy.h

Issue 2050623005: Move file chooser from RenderView(Host) to RenderFrame(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some cleanup. Created 4 years, 6 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: components/test_runner/web_frame_test_proxy.h
diff --git a/components/test_runner/web_frame_test_proxy.h b/components/test_runner/web_frame_test_proxy.h
index 83224b9c8d93ba5ef9a25bf6db6d42a5a4d172b4..21bd773dd725caeef25de1a9d6d85af80e03bc77 100644
--- a/components/test_runner/web_frame_test_proxy.h
+++ b/components/test_runner/web_frame_test_proxy.h
@@ -291,6 +291,10 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase {
test_client()->didClearWindowObject(frame);
Base::didClearWindowObject(frame);
}
+ bool runFileChooser(const blink::WebFileChooserParams& params,
+ blink::WebFileChooserCompletion* completion) override {
+ return test_client()->runFileChooser(params, completion);
+ }
private:
DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);

Powered by Google App Engine
This is Rietveld 408576698