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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 private: | 52 private: |
53 FileInputType(HTMLInputElement&); | 53 FileInputType(HTMLInputElement&); |
54 const AtomicString& formControlType() const override; | 54 const AtomicString& formControlType() const override; |
55 FormControlState saveFormControlState() const override; | 55 FormControlState saveFormControlState() const override; |
56 void restoreFormControlState(const FormControlState&) override; | 56 void restoreFormControlState(const FormControlState&) override; |
57 bool appendFormData(FormDataList&, bool) const override; | 57 bool appendFormData(FormDataList&, bool) const override; |
58 bool valueMissing(const String&) const override; | 58 bool valueMissing(const String&) const override; |
59 String valueMissingText() const override; | 59 String valueMissingText() const override; |
60 void handleDOMActivateEvent(Event*) override; | 60 void handleDOMActivateEvent(Event*) override; |
61 LayoutObject* createLayoutObject(const LayoutStyle&) const override; | 61 LayoutObject* createLayoutObject(const ComputedStyle&) const override; |
62 bool canSetStringValue() const override; | 62 bool canSetStringValue() const override; |
63 FileList* files() override; | 63 FileList* files() override; |
64 void setFiles(FileList*) override; | 64 void setFiles(FileList*) override; |
65 bool canSetValue(const String&) override; | 65 bool canSetValue(const String&) override; |
66 bool getTypeSpecificValue(String&) override; // Checked first, before intern
al storage or the value attribute. | 66 bool getTypeSpecificValue(String&) override; // Checked first, before intern
al storage or the value attribute. |
67 void setValue(const String&, bool valueChanged, TextFieldEventBehavior) over
ride; | 67 void setValue(const String&, bool valueChanged, TextFieldEventBehavior) over
ride; |
68 bool receiveDroppedFiles(const DragData*) override; | 68 bool receiveDroppedFiles(const DragData*) override; |
69 String droppedFileSystemId() override; | 69 String droppedFileSystemId() override; |
70 void createShadowSubtree() override; | 70 void createShadowSubtree() override; |
71 void disabledAttributeChanged() override; | 71 void disabledAttributeChanged() override; |
72 void multipleAttributeChanged() override; | 72 void multipleAttributeChanged() override; |
73 String defaultToolTip() const override; | 73 String defaultToolTip() const override; |
74 | 74 |
75 // FileChooserClient implementation. | 75 // FileChooserClient implementation. |
76 void filesChosen(const Vector<FileChooserFileInfo>&) override; | 76 void filesChosen(const Vector<FileChooserFileInfo>&) override; |
77 | 77 |
78 void receiveDropForDirectoryUpload(const Vector<String>&); | 78 void receiveDropForDirectoryUpload(const Vector<String>&); |
79 | 79 |
80 PersistentWillBeMember<FileList> m_fileList; | 80 PersistentWillBeMember<FileList> m_fileList; |
81 String m_droppedFileSystemId; | 81 String m_droppedFileSystemId; |
82 }; | 82 }; |
83 | 83 |
84 } // namespace blink | 84 } // namespace blink |
85 | 85 |
86 #endif // FileInputType_h | 86 #endif // FileInputType_h |
OLD | NEW |