| 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; | |
| 69 virtual bool isFileUpload() const OVERRIDE; | 68 virtual bool isFileUpload() const OVERRIDE; |
| 70 virtual void createShadowSubtree() OVERRIDE; | 69 virtual void createShadowSubtree() OVERRIDE; |
| 71 virtual void disabledAttributeChanged() OVERRIDE; | 70 virtual void disabledAttributeChanged() OVERRIDE; |
| 72 virtual void multipleAttributeChanged() OVERRIDE; | 71 virtual void multipleAttributeChanged() OVERRIDE; |
| 73 virtual String defaultToolTip() const OVERRIDE; | 72 virtual String defaultToolTip() const OVERRIDE; |
| 74 | 73 |
| 75 // FileChooserClient implementation. | 74 // FileChooserClient implementation. |
| 76 virtual void filesChosen(const Vector<FileChooserFileInfo>&) OVERRIDE; | 75 virtual void filesChosen(const Vector<FileChooserFileInfo>&) OVERRIDE; |
| 77 | 76 |
| 78 PassRefPtrWillBeRawPtr<FileList> createFileList(const Vector<FileChooserFile
Info>& files) const; | 77 PassRefPtrWillBeRawPtr<FileList> createFileList(const Vector<FileChooserFile
Info>& files) const; |
| 79 void receiveDropForDirectoryUpload(const Vector<String>&); | 78 void receiveDropForDirectoryUpload(const Vector<String>&); |
| 80 | 79 |
| 81 RefPtrWillBePersistent<FileList> m_fileList; | 80 RefPtrWillBePersistent<FileList> m_fileList; |
| 82 | 81 |
| 83 String m_droppedFileSystemId; | 82 String m_droppedFileSystemId; |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 } // namespace WebCore | 85 } // namespace WebCore |
| 87 | 86 |
| 88 #endif // FileInputType_h | 87 #endif // FileInputType_h |
| OLD | NEW |