diff options
| author | Leon Scroggins <scroggo@google.com> | 2009-10-02 15:55:01 -0400 |
|---|---|---|
| committer | Leon Scroggins <scroggo@google.com> | 2009-10-09 13:46:58 -0400 |
| commit | bf280393189a33efa29a33c0d96c84710484f2f7 (patch) | |
| tree | 084219fe1caff06c871fdf567426d42d7f79dafb /WebKit/android/WebCoreSupport | |
| parent | b7460af0ad232b4bea4893febafe08895a3ef35b (diff) | |
| download | external_webkit-bf280393189a33efa29a33c0d96c84710484f2f7.zip external_webkit-bf280393189a33efa29a33c0d96c84710484f2f7.tar.gz external_webkit-bf280393189a33efa29a33c0d96c84710484f2f7.tar.bz2 | |
File upload.
Webkit implementation for passing in the data for file uploads.
Requires a change to frameworks/base to not break things; also
requires a change to packages/apps/Browser to work.
Fixes http://b/issue?id=675743
Diffstat (limited to 'WebKit/android/WebCoreSupport')
| -rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp index 1c17ffe..dd608b6 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp @@ -368,7 +368,14 @@ void ChromeClientAndroid::onMainFrameLoadStarted() m_geolocationPermissions->resetTemporaryPermissionStates(); } -void ChromeClientAndroid::runOpenPanel(Frame*, PassRefPtr<FileChooser>) { notImplemented(); } +void ChromeClientAndroid::runOpenPanel(Frame* frame, + PassRefPtr<FileChooser> chooser) +{ + android::WebViewCore* core = android::WebViewCore::getWebViewCore( + frame->view()); + core->openFileChooser(chooser); +} + bool ChromeClientAndroid::setCursor(PlatformCursorHandle) { notImplemented(); |
