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

Side by Side Diff: Source/core/html/DOMFormData.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/ClassList.h ('k') | Source/core/html/DocumentNameCollection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 39
40 namespace WTF{ 40 namespace WTF{
41 class TextEncoding; 41 class TextEncoding;
42 } 42 }
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class Blob; 46 class Blob;
47 class HTMLFormElement; 47 class HTMLFormElement;
48 48
49 class DOMFormData FINAL : public FormDataList, public ScriptWrappable { 49 class DOMFormData final : public FormDataList, public ScriptWrappable {
50 DEFINE_WRAPPERTYPEINFO(); 50 DEFINE_WRAPPERTYPEINFO();
51 public: 51 public:
52 static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form = 0) 52 static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form = 0)
53 { 53 {
54 return adoptRefWillBeNoop(new DOMFormData(form)); 54 return adoptRefWillBeNoop(new DOMFormData(form));
55 } 55 }
56 56
57 static PassRefPtrWillBeRawPtr<DOMFormData> create(const WTF::TextEncoding& e ncoding) 57 static PassRefPtrWillBeRawPtr<DOMFormData> create(const WTF::TextEncoding& e ncoding)
58 { 58 {
59 return adoptRefWillBeNoop(new DOMFormData(encoding)); 59 return adoptRefWillBeNoop(new DOMFormData(encoding));
60 } 60 }
61 61
62 void append(const String& name, const String& value); 62 void append(const String& name, const String& value);
63 void append(const String& name, Blob*, const String& filename = String()); 63 void append(const String& name, Blob*, const String& filename = String());
64 64
65 private: 65 private:
66 explicit DOMFormData(const WTF::TextEncoding&); 66 explicit DOMFormData(const WTF::TextEncoding&);
67 explicit DOMFormData(HTMLFormElement*); 67 explicit DOMFormData(HTMLFormElement*);
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // DOMFormData_h 72 #endif // DOMFormData_h
OLDNEW
« no previous file with comments | « Source/core/html/ClassList.h ('k') | Source/core/html/DocumentNameCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698