Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: Source/core/html/forms/FileInputType.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ('k') | Source/core/html/forms/FileInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698