| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 FileInputType(HTMLInputElement*); | 51 FileInputType(HTMLInputElement*); |
| 52 virtual const AtomicString& formControlType() const OVERRIDE; | 52 virtual const AtomicString& formControlType() const OVERRIDE; |
| 53 virtual FormControlState saveFormControlState() const OVERRIDE; | 53 virtual FormControlState saveFormControlState() const OVERRIDE; |
| 54 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; | 54 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; |
| 55 virtual bool appendFormData(FormDataList&, bool) const OVERRIDE; | 55 virtual bool appendFormData(FormDataList&, bool) const OVERRIDE; |
| 56 virtual bool valueMissing(const String&) const OVERRIDE; | 56 virtual bool valueMissing(const String&) const OVERRIDE; |
| 57 virtual String valueMissingText() const OVERRIDE; | 57 virtual String valueMissingText() const OVERRIDE; |
| 58 virtual void handleDOMActivateEvent(Event*) OVERRIDE; | 58 virtual void handleDOMActivateEvent(Event*) OVERRIDE; |
| 59 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const OVERR
IDE; | 59 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
| 60 virtual bool canSetStringValue() const OVERRIDE; | 60 virtual bool canSetStringValue() const OVERRIDE; |
| 61 virtual bool canChangeFromAnotherType() const OVERRIDE; | 61 virtual bool canChangeFromAnotherType() const OVERRIDE; |
| 62 virtual FileList* files() OVERRIDE; | 62 virtual FileList* files() OVERRIDE; |
| 63 virtual void setFiles(PassRefPtr<FileList>) OVERRIDE; | 63 virtual void setFiles(PassRefPtr<FileList>) OVERRIDE; |
| 64 virtual bool canSetValue(const String&) OVERRIDE; | 64 virtual bool canSetValue(const String&) OVERRIDE; |
| 65 virtual bool getTypeSpecificValue(String&) OVERRIDE; // Checked first, befor
e internal storage or the value attribute. | 65 virtual bool getTypeSpecificValue(String&) OVERRIDE; // Checked first, befor
e internal storage or the value attribute. |
| 66 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; | 66 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; |
| 67 virtual bool receiveDroppedFiles(const DragData*) OVERRIDE; | 67 virtual bool receiveDroppedFiles(const DragData*) OVERRIDE; |
| 68 virtual String droppedFileSystemId() OVERRIDE; | 68 virtual String droppedFileSystemId() OVERRIDE; |
| 69 virtual Icon* icon() const OVERRIDE; | 69 virtual Icon* icon() const OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 85 | 85 |
| 86 RefPtr<FileList> m_fileList; | 86 RefPtr<FileList> m_fileList; |
| 87 RefPtr<Icon> m_icon; | 87 RefPtr<Icon> m_icon; |
| 88 | 88 |
| 89 String m_droppedFileSystemId; | 89 String m_droppedFileSystemId; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace WebCore | 92 } // namespace WebCore |
| 93 | 93 |
| 94 #endif // FileInputType_h | 94 #endif // FileInputType_h |
| OLD | NEW |