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

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

Issue 598593006: Remove forward declarations from Source/core/dom/custom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nits 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 27 matching lines...) Expand all
38 #include "wtf/OwnPtr.h" 38 #include "wtf/OwnPtr.h"
39 #include "wtf/PassRefPtr.h" 39 #include "wtf/PassRefPtr.h"
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 Document;
49 class Element;
50 class HTMLImportChild; 48 class HTMLImportChild;
51 49
52 class CustomElementScheduler FINAL : public NoBaseWillBeGarbageCollected<CustomE lementScheduler> { 50 class CustomElementScheduler FINAL : public NoBaseWillBeGarbageCollected<CustomE lementScheduler> {
53 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler); 51 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler);
54 public: 52 public:
55 53
56 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtrWillBeRawPtr<Element>, CustomElementLifecycleCallbacks::CallbackType); 54 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtrWillBeRawPtr<Element>, CustomElementLifecycleCallbacks::CallbackType);
57 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);
58 56
59 static void resolveOrScheduleResolution(PassRefPtrWillBeRawPtr<CustomElement RegistrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescri ptor&); 57 static void resolveOrScheduleResolution(PassRefPtrWillBeRawPtr<CustomElement RegistrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescri ptor&);
60 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*); 58 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*);
61 59
62 static void microtaskDispatcherDidFinish(); 60 static void microtaskDispatcherDidFinish();
63 static void callbackDispatcherDidFinish(); 61 static void callbackDispatcherDidFinish();
64 62
65 private: 63 private:
66 CustomElementScheduler() { } 64 CustomElementScheduler() { }
67 65
68 static void enqueueMicrotaskStep(Document&, PassOwnPtrWillBeRawPtr<CustomEle mentMicrotaskStep>, bool importIsSync = true); 66 static void enqueueMicrotaskStep(Document&, PassOwnPtrWillBeRawPtr<CustomEle mentMicrotaskStep>, bool importIsSync = true);
69 }; 67 };
70 68
71 } 69 } // namespace blink
72 70
73 #endif // CustomElementScheduler_h 71 #endif // CustomElementScheduler_h
OLDNEW
« no previous file with comments | « Source/core/dom/custom/CustomElementRegistry.h ('k') | Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698