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

Side by Side Diff: Source/core/dom/custom/CustomElementScheduler.h

Issue 611233002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom/custom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 #include "wtf/text/AtomicString.h" 40 #include "wtf/text/AtomicString.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class CustomElementDescriptor; 44 class CustomElementDescriptor;
45 class CustomElementMicrotaskImportStep; 45 class CustomElementMicrotaskImportStep;
46 class CustomElementMicrotaskStep; 46 class CustomElementMicrotaskStep;
47 class CustomElementRegistrationContext; 47 class CustomElementRegistrationContext;
48 class HTMLImportChild; 48 class HTMLImportChild;
49 49
50 class CustomElementScheduler FINAL : public NoBaseWillBeGarbageCollected<CustomE lementScheduler> { 50 class CustomElementScheduler final : public NoBaseWillBeGarbageCollected<CustomE lementScheduler> {
51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler); 51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler);
52 public: 52 public:
53 53
54 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtrWillBeRawPtr<Element>, CustomElementLifecycleCallbacks::CallbackType); 54 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtrWillBeRawPtr<Element>, CustomElementLifecycleCallbacks::CallbackType);
55 static void scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecyc leCallbacks>, PassRefPtrWillBeRawPtr<Element>, const AtomicString& name, const A tomicString& oldValue, const AtomicString& newValue); 55 static void scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecyc leCallbacks>, PassRefPtrWillBeRawPtr<Element>, const AtomicString& name, const A tomicString& oldValue, const AtomicString& newValue);
56 56
57 static void resolveOrScheduleResolution(PassRefPtrWillBeRawPtr<CustomElement RegistrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescri ptor&); 57 static void resolveOrScheduleResolution(PassRefPtrWillBeRawPtr<CustomElement RegistrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescri ptor&);
58 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*); 58 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*);
59 59
60 static void microtaskDispatcherDidFinish(); 60 static void microtaskDispatcherDidFinish();
61 static void callbackDispatcherDidFinish(); 61 static void callbackDispatcherDidFinish();
62 62
63 private: 63 private:
64 CustomElementScheduler() { } 64 CustomElementScheduler() { }
65 65
66 static void enqueueMicrotaskStep(Document&, PassOwnPtrWillBeRawPtr<CustomEle mentMicrotaskStep>, bool importIsSync = true); 66 static void enqueueMicrotaskStep(Document&, PassOwnPtrWillBeRawPtr<CustomEle mentMicrotaskStep>, bool importIsSync = true);
67 }; 67 };
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 #endif // CustomElementScheduler_h 71 #endif // CustomElementScheduler_h
OLDNEW
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.cpp ('k') | Source/core/dom/custom/CustomElementUpgradeCandidateMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698