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

Side by Side Diff: sky/engine/core/dom/custom/CustomElementScheduler.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 48 class Document;
49 class Element; 49 class Element;
50 class HTMLImportChild; 50 class HTMLImportChild;
51 51
52 class CustomElementScheduler final : public DummyBase<CustomElementScheduler> { 52 class CustomElementScheduler final {
53 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler); 53 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementScheduler);
54 public: 54 public:
55 55
56 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtr<Element>, CustomElementLifecycleCallbacks::CallbackType); 56 static void scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks>, Pa ssRefPtr<Element>, CustomElementLifecycleCallbacks::CallbackType);
57 static void scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecyc leCallbacks>, PassRefPtr<Element>, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue); 57 static void scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecyc leCallbacks>, PassRefPtr<Element>, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue);
58 58
59 static void resolveOrScheduleResolution(PassRefPtr<CustomElementRegistration Context>, PassRefPtr<Element>, const CustomElementDescriptor&); 59 static void resolveOrScheduleResolution(PassRefPtr<CustomElementRegistration Context>, PassRefPtr<Element>, const CustomElementDescriptor&);
60 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*); 60 static CustomElementMicrotaskImportStep* scheduleImport(HTMLImportChild*);
61 61
62 static void microtaskDispatcherDidFinish(); 62 static void microtaskDispatcherDidFinish();
(...skipping 17 matching lines...) Expand all
80 80
81 // The element -> callback queue map is populated by the scheduler 81 // The element -> callback queue map is populated by the scheduler
82 // and owns the lifetimes of the CustomElementCallbackQueues. 82 // and owns the lifetimes of the CustomElementCallbackQueues.
83 typedef HashMap<RawPtr<Element>, OwnPtr<CustomElementCallbackQueue> > Elemen tCallbackQueueMap; 83 typedef HashMap<RawPtr<Element>, OwnPtr<CustomElementCallbackQueue> > Elemen tCallbackQueueMap;
84 ElementCallbackQueueMap m_elementCallbackQueueMap; 84 ElementCallbackQueueMap m_elementCallbackQueueMap;
85 }; 85 };
86 86
87 } 87 }
88 88
89 #endif // CustomElementScheduler_h 89 #endif // CustomElementScheduler_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementObserver.h ('k') | sky/engine/core/dom/shadow/ElementShadow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698