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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 void restoreFormControlState(const FormControlState&) override; | 70 void restoreFormControlState(const FormControlState&) override; |
71 void appendToFormData(FormData&) const override; | 71 void appendToFormData(FormData&) const override; |
72 bool valueMissing(const String&) const override; | 72 bool valueMissing(const String&) const override; |
73 String valueMissingText() const override; | 73 String valueMissingText() const override; |
74 void handleDOMActivateEvent(Event*) override; | 74 void handleDOMActivateEvent(Event*) override; |
75 LayoutObject* createLayoutObject(const ComputedStyle&) const override; | 75 LayoutObject* createLayoutObject(const ComputedStyle&) const override; |
76 bool canSetStringValue() const override; | 76 bool canSetStringValue() const override; |
77 FileList* files() override; | 77 FileList* files() override; |
78 void setFiles(FileList*) override; | 78 void setFiles(FileList*) override; |
79 bool canSetValue(const String&) override; | 79 bool canSetValue(const String&) override; |
80 bool getTypeSpecificValue(String&) | 80 // Checked first, before internal storage or the value attribute. |
81 override; // Checked first, before internal storage or the value attribut
e. | 81 bool getTypeSpecificValue(String&) override; |
82 void setValue(const String&, | 82 void setValue(const String&, |
83 bool valueChanged, | 83 bool valueChanged, |
84 TextFieldEventBehavior) override; | 84 TextFieldEventBehavior) override; |
85 bool receiveDroppedFiles(const DragData*) override; | 85 bool receiveDroppedFiles(const DragData*) override; |
86 String droppedFileSystemId() override; | 86 String droppedFileSystemId() override; |
87 void createShadowSubtree() override; | 87 void createShadowSubtree() override; |
88 void disabledAttributeChanged() override; | 88 void disabledAttributeChanged() override; |
89 void multipleAttributeChanged() override; | 89 void multipleAttributeChanged() override; |
90 String defaultToolTip(const InputTypeView&) const override; | 90 String defaultToolTip(const InputTypeView&) const override; |
91 | 91 |
92 // FileChooserClient implementation. | 92 // FileChooserClient implementation. |
93 void filesChosen(const Vector<FileChooserFileInfo>&) override; | 93 void filesChosen(const Vector<FileChooserFileInfo>&) override; |
94 | 94 |
95 void setFilesFromDirectory(const String&); | 95 void setFilesFromDirectory(const String&); |
96 | 96 |
97 Member<FileList> m_fileList; | 97 Member<FileList> m_fileList; |
98 String m_droppedFileSystemId; | 98 String m_droppedFileSystemId; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace blink | 101 } // namespace blink |
102 | 102 |
103 #endif // FileInputType_h | 103 #endif // FileInputType_h |
OLD | NEW |