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

Side by Side Diff: Source/core/html/forms/FormController.cpp

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/forms/FormController.h ('k') | Source/core/html/forms/HiddenInputType.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) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 const Vector<FileChooserFileInfo>& selectedFiles = HTMLInputElement: :filesFromFileInputFormControlState(*queIterator); 281 const Vector<FileChooserFileInfo>& selectedFiles = HTMLInputElement: :filesFromFileInputFormControlState(*queIterator);
282 for (size_t i = 0; i < selectedFiles.size(); ++i) 282 for (size_t i = 0; i < selectedFiles.size(); ++i)
283 toReturn.append(selectedFiles[i].path); 283 toReturn.append(selectedFiles[i].path);
284 } 284 }
285 } 285 }
286 return toReturn; 286 return toReturn;
287 } 287 }
288 288
289 // ---------------------------------------------------------------------------- 289 // ----------------------------------------------------------------------------
290 290
291 class FormKeyGenerator FINAL : public NoBaseWillBeGarbageCollectedFinalized<Form KeyGenerator> { 291 class FormKeyGenerator final : public NoBaseWillBeGarbageCollectedFinalized<Form KeyGenerator> {
292 WTF_MAKE_NONCOPYABLE(FormKeyGenerator); 292 WTF_MAKE_NONCOPYABLE(FormKeyGenerator);
293 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 293 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
294 294
295 public: 295 public:
296 static PassOwnPtrWillBeRawPtr<FormKeyGenerator> create() { return adoptPtrWi llBeNoop(new FormKeyGenerator); } 296 static PassOwnPtrWillBeRawPtr<FormKeyGenerator> create() { return adoptPtrWi llBeNoop(new FormKeyGenerator); }
297 void trace(Visitor* visitor) 297 void trace(Visitor* visitor)
298 { 298 {
299 #if ENABLE(OILPAN) 299 #if ENABLE(OILPAN)
300 visitor->trace(m_formToKeyMap); 300 visitor->trace(m_formToKeyMap);
301 #endif 301 #endif
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 { 560 {
561 m_documentState->addControl(&control); 561 m_documentState->addControl(&control);
562 } 562 }
563 563
564 void FormController::unregisterStatefulFormControl(HTMLFormControlElementWithSta te& control) 564 void FormController::unregisterStatefulFormControl(HTMLFormControlElementWithSta te& control)
565 { 565 {
566 m_documentState->removeControl(&control); 566 m_documentState->removeControl(&control);
567 } 567 }
568 568
569 } // namespace blink 569 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/forms/FormController.h ('k') | Source/core/html/forms/HiddenInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698