| Index: third_party/WebKit/WebKit/chromium/src/ChromeClientImpl.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebKit/chromium/src/ChromeClientImpl.cpp (revision 58975)
|
| +++ third_party/WebKit/WebKit/chromium/src/ChromeClientImpl.cpp (working copy)
|
| @@ -64,6 +64,7 @@
|
| #include "WebFileChooserCompletionImpl.h"
|
| #include "WebFrameClient.h"
|
| #include "WebFrameImpl.h"
|
| +#include "WebIconLoadingCompletionImpl.h"
|
| #include "WebInputEvent.h"
|
| #include "WebKit.h"
|
| #include "WebPopupMenuImpl.h"
|
| @@ -603,9 +604,13 @@
|
| chooserCompletion->didChooseFile(WebVector<WebString>());
|
| }
|
|
|
| -void ChromeClientImpl::chooseIconForFiles(const Vector<WebCore::String>&, WebCore::FileChooser*)
|
| +void ChromeClientImpl::chooseIconForFiles(const Vector<WebCore::String>& filenames, WebCore::FileChooser* fileChooser)
|
| {
|
| - notImplemented();
|
| + if (!m_webView->client())
|
| + return;
|
| + WebIconLoadingCompletionImpl* iconCompletion = new WebIconLoadingCompletionImpl(fileChooser);
|
| + if (!m_webView->client()->chooseIconForFiles(filenames, iconCompletion))
|
| + iconCompletion->iconLoaded(WebData());
|
| }
|
|
|
| void ChromeClientImpl::popupOpened(PopupContainer* popupContainer,
|
|
|