| OLD | NEW |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class CustomElementRegistrationContext; | 43 class CustomElementRegistrationContext; |
| 44 class Element; | 44 class Element; |
| 45 | 45 |
| 46 class CustomElementMicrotaskResolutionStep : public CustomElementMicrotaskStep { | 46 class CustomElementMicrotaskResolutionStep : public CustomElementMicrotaskStep { |
| 47 WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskResolutionStep); | 47 WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskResolutionStep); |
| 48 public: | 48 public: |
| 49 static PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> create(P
assRefPtrWillBeRawPtr<CustomElementRegistrationContext>, PassRefPtrWillBeRawPtr<
Element>, const CustomElementDescriptor&); | 49 static PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> create(P
assRefPtrWillBeRawPtr<CustomElementRegistrationContext>, PassRefPtrWillBeRawPtr<
Element>, const CustomElementDescriptor&); |
| 50 | 50 |
| 51 virtual ~CustomElementMicrotaskResolutionStep(); | 51 virtual ~CustomElementMicrotaskResolutionStep(); |
| 52 | 52 |
| 53 virtual void trace(Visitor*) OVERRIDE; | 53 virtual void trace(Visitor*) override; |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementReg
istrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescripto
r&); | 56 CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementReg
istrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescripto
r&); |
| 57 | 57 |
| 58 virtual Result process() OVERRIDE; | 58 virtual Result process() override; |
| 59 | 59 |
| 60 #if !defined(NDEBUG) | 60 #if !defined(NDEBUG) |
| 61 virtual void show(unsigned indent) OVERRIDE; | 61 virtual void show(unsigned indent) override; |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 RefPtrWillBeMember<CustomElementRegistrationContext> m_context; | 64 RefPtrWillBeMember<CustomElementRegistrationContext> m_context; |
| 65 RefPtrWillBeMember<Element> m_element; | 65 RefPtrWillBeMember<Element> m_element; |
| 66 CustomElementDescriptor m_descriptor; | 66 CustomElementDescriptor m_descriptor; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace blink | 69 } // namespace blink |
| 70 | 70 |
| 71 #endif // CustomElementMicrotaskResolutionStep_h | 71 #endif // CustomElementMicrotaskResolutionStep_h |
| OLD | NEW |