summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderFileUploadControl.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-10-02 15:55:01 -0400
committerLeon Scroggins <scroggo@google.com>2009-10-09 13:46:58 -0400
commitbf280393189a33efa29a33c0d96c84710484f2f7 (patch)
tree084219fe1caff06c871fdf567426d42d7f79dafb /WebCore/rendering/RenderFileUploadControl.cpp
parentb7460af0ad232b4bea4893febafe08895a3ef35b (diff)
downloadexternal_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 'WebCore/rendering/RenderFileUploadControl.cpp')
-rw-r--r--WebCore/rendering/RenderFileUploadControl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderFileUploadControl.cpp b/WebCore/rendering/RenderFileUploadControl.cpp
index 9b5579c..72623f7 100644
--- a/WebCore/rendering/RenderFileUploadControl.cpp
+++ b/WebCore/rendering/RenderFileUploadControl.cpp
@@ -134,11 +134,7 @@ void RenderFileUploadControl::updateFromElement()
addChild(renderer);
}
-#ifndef ANDROID_DISABLE_UPLOAD
m_button->setDisabled(!theme()->isEnabled(this));
-#else
- m_button->setDisabled(true);
-#endif
// This only supports clearing out the files, but that's OK because for
// security reasons that's the only change the DOM is allowed to make.