| Index: third_party/WebKit/public/web/WebFrameClient.h
|
| diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
|
| index f1cbdba6c78c81eed9cfbe33650100ca06590566..3c9e76126109d17928229b2a37eb92ebb00953f3 100644
|
| --- a/third_party/WebKit/public/web/WebFrameClient.h
|
| +++ b/third_party/WebKit/public/web/WebFrameClient.h
|
| @@ -35,6 +35,7 @@
|
| #include "WebAXObject.h"
|
| #include "WebDOMMessageEvent.h"
|
| #include "WebDataSource.h"
|
| +#include "WebFileChooserParams.h"
|
| #include "WebFrame.h"
|
| #include "WebFrameOwnerProperties.h"
|
| #include "WebHistoryCommitType.h"
|
| @@ -78,6 +79,7 @@ class WebDataSource;
|
| class WebEncryptedMediaClient;
|
| class WebExternalPopupMenu;
|
| class WebExternalPopupMenuClient;
|
| +class WebFileChooserCompletion;
|
| class WebFormElement;
|
| class WebInstalledAppClient;
|
| class WebMediaPlayer;
|
| @@ -438,6 +440,13 @@ public:
|
| // the user selects 'OK' or false otherwise.
|
| virtual bool runModalBeforeUnloadDialog(bool isReload) { return true; }
|
|
|
| + // This method returns immediately after showing the dialog. When the
|
| + // dialog is closed, it should call the WebFileChooserCompletion to
|
| + // pass the results of the dialog. Returns false if
|
| + // WebFileChooseCompletion will never be called.
|
| + virtual bool runFileChooser(
|
| + const blink::WebFileChooserParams& params,
|
| + WebFileChooserCompletion* chooserCompletion) { return false; }
|
|
|
| // UI ------------------------------------------------------------------
|
|
|
|
|