| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void handleDOMActivateEvent(Event*) OVERRIDE; | 58 virtual void handleDOMActivateEvent(Event*) OVERRIDE; |
| 59 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; | 59 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
| 60 virtual bool canSetStringValue() const OVERRIDE; | 60 virtual bool canSetStringValue() const OVERRIDE; |
| 61 virtual FileList* files() OVERRIDE; | 61 virtual FileList* files() OVERRIDE; |
| 62 virtual void setFiles(PassRefPtrWillBeRawPtr<FileList>) OVERRIDE; | 62 virtual void setFiles(PassRefPtrWillBeRawPtr<FileList>) OVERRIDE; |
| 63 virtual bool canSetValue(const String&) OVERRIDE; | 63 virtual bool canSetValue(const String&) OVERRIDE; |
| 64 virtual bool getTypeSpecificValue(String&) OVERRIDE; // Checked first, befor
e internal storage or the value attribute. | 64 virtual bool getTypeSpecificValue(String&) OVERRIDE; // Checked first, befor
e internal storage or the value attribute. |
| 65 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; | 65 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; |
| 66 virtual bool receiveDroppedFiles(const DragData*) OVERRIDE; | 66 virtual bool receiveDroppedFiles(const DragData*) OVERRIDE; |
| 67 virtual String droppedFileSystemId() OVERRIDE; | 67 virtual String droppedFileSystemId() OVERRIDE; |
| 68 virtual void copyNonAttributeProperties(const HTMLInputElement&) OVERRIDE; |
| 68 virtual bool isFileUpload() const OVERRIDE; | 69 virtual bool isFileUpload() const OVERRIDE; |
| 69 virtual void createShadowSubtree() OVERRIDE; | 70 virtual void createShadowSubtree() OVERRIDE; |
| 70 virtual void disabledAttributeChanged() OVERRIDE; | 71 virtual void disabledAttributeChanged() OVERRIDE; |
| 71 virtual void multipleAttributeChanged() OVERRIDE; | 72 virtual void multipleAttributeChanged() OVERRIDE; |
| 72 virtual String defaultToolTip() const OVERRIDE; | 73 virtual String defaultToolTip() const OVERRIDE; |
| 73 | 74 |
| 74 // FileChooserClient implementation. | 75 // FileChooserClient implementation. |
| 75 virtual void filesChosen(const Vector<FileChooserFileInfo>&) OVERRIDE; | 76 virtual void filesChosen(const Vector<FileChooserFileInfo>&) OVERRIDE; |
| 76 | 77 |
| 77 PassRefPtrWillBeRawPtr<FileList> createFileList(const Vector<FileChooserFile
Info>& files) const; | 78 PassRefPtrWillBeRawPtr<FileList> createFileList(const Vector<FileChooserFile
Info>& files) const; |
| 78 void receiveDropForDirectoryUpload(const Vector<String>&); | 79 void receiveDropForDirectoryUpload(const Vector<String>&); |
| 79 | 80 |
| 80 RefPtrWillBePersistent<FileList> m_fileList; | 81 RefPtrWillBePersistent<FileList> m_fileList; |
| 81 | 82 |
| 82 String m_droppedFileSystemId; | 83 String m_droppedFileSystemId; |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace WebCore | 86 } // namespace WebCore |
| 86 | 87 |
| 87 #endif // FileInputType_h | 88 #endif // FileInputType_h |
| OLD | NEW |