+2006-09-13 MorganL <morlmor@yahoo.com>
+
+ Reviewed/landed by aroben.
+
+ Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10833
+ Windows build needs fixed after move to engine-rendered file upload widget
+
+ * WebCore.vcproj/WebCore/WebCore.vcproj: Add RenderFileUpload files,
+ remove RenderFileButton files
+ * platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser, Icon
+ (FileChooser::FileChooser):
+ (FileChooser::~FileChooser):
+ (FileChooser::openFileChooser):
+ (FileChooser::basenameForWidth):
+ (FileChooser::uploadControlDetaching):
+ (FileChooser::chooseFile):
+ (WebCore::fileButtonChooseFileLabel):
+ (WebCore::fileButtonNoFileSelectedLabel):
+ (Icon::Icon):
+ (Icon::~Icon):
+ (Icon::newIconForFile):
+ (Icon::paint):
+
2006-09-13 MorganL <morlmor@yahoo.com>
Reviewed/landed by aroben.
#include "CString.h"
#include "Node.h"
#include "TextField.h"
+#include "FileChooser.h"
#include "Font.h"
-#include "FileButton.h"
#include "PopUpButton.h"
#include "IntPoint.h"
#include "Widget.h"
#include "AXObjectCache.h"
#include "RenderPopupMenuWin.h"
#include "EditCommand.h"
+#include "Icon.h"
using namespace WebCore;
void ListBox::clear() { notImplemented(); }
bool ListBox::checksDescendantsForFocus() const { notImplemented(); return 0; }
-FileButton::FileButton(Frame*) { notImplemented(); }
-void FileButton::click(bool) { notImplemented(); }
-IntSize FileButton::sizeForCharacterWidth(int) const { notImplemented(); return IntSize(); }
-Widget::FocusPolicy FileButton::focusPolicy() const { notImplemented(); return NoFocus; }
-WebCore::IntRect FileButton::frameGeometry() const { notImplemented(); return IntRect(); }
-void FileButton::setFilename(DeprecatedString const&) { notImplemented(); }
-int FileButton::baselinePosition(int) const { notImplemented(); return 0; }
-void FileButton::setFrameGeometry(WebCore::IntRect const&) { notImplemented(); }
-void FileButton::setDisabled(bool) { notImplemented(); }
+FileChooser::FileChooser(Document*, RenderFileUploadControl*) { notImplemented(); }
+FileChooser::~FileChooser() { notImplemented(); }
+void FileChooser::openFileChooser() { notImplemented(); }
+String FileChooser::basenameForWidth(int width) const { notImplemented(); return String(); }
+void FileChooser::uploadControlDetaching() { notImplemented(); }
+void FileChooser::chooseFile(const String& filename) { notImplemented(); }
Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; }
Widget::FocusPolicy ListBox::focusPolicy() const { notImplemented(); return NoFocus; }
String WebCore::submitButtonDefaultLabel() { return "Submit"; }
String WebCore::inputElementAltText() { return DeprecatedString(); }
String WebCore::resetButtonDefaultLabel() { return "Reset"; }
+String WebCore::fileButtonChooseFileLabel() { return "Browse..."; }
+String WebCore::fileButtonNoFileSelectedLabel() { return String(); }
+
String WebCore::defaultLanguage() { return "en"; }
void WebCore::findWordBoundary(UChar const* str,int len,int position,int* start, int* end) {*start=position; *end=position; }
void RenderThemeWin::systemFont(int propId, FontDescription& fontDescription) const {}
bool RenderThemeWin::paintMenuList(RenderObject *, const RenderObject::PaintInfo&, const IntRect&) { return false; }
void RenderThemeWin::adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) const { }
+
+Icon::Icon() { notImplemented(); }
+Icon::~Icon() { notImplemented(); }
+PassRefPtr<Icon> Icon::newIconForFile(const String& filename) { notImplemented(); return PassRefPtr<Icon>(new Icon()); }
+void Icon::paint(GraphicsContext*, const IntRect&) { notImplemented(); }
\ No newline at end of file