| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "wtf/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
| 36 #include <v8.h> | 36 #include <v8.h> |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create() | 40 PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create() |
| 41 { | 41 { |
| 42 return adoptRefWillBeNoop(new InstallEvent()); | 42 return adoptRefWillBeNoop(new InstallEvent()); |
| 43 } | 43 } |
| 44 | 44 |
| 45 PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& ty
pe, const EventInit& initializer, WaitUntilObserver* observer) | 45 PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& ty
pe, const InstallEventInit& initializer) |
| 46 { |
| 47 return adoptRefWillBeNoop(new InstallEvent(type, initializer)); |
| 48 } |
| 49 |
| 50 PassRefPtrWillBeRawPtr<InstallEvent> InstallEvent::create(const AtomicString& ty
pe, const InstallEventInit& initializer, WaitUntilObserver* observer) |
| 46 { | 51 { |
| 47 return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer)); | 52 return adoptRefWillBeNoop(new InstallEvent(type, initializer, observer)); |
| 48 } | 53 } |
| 49 | 54 |
| 50 const AtomicString& InstallEvent::interfaceName() const | 55 const AtomicString& InstallEvent::interfaceName() const |
| 51 { | 56 { |
| 52 return EventNames::InstallEvent; | 57 return EventNames::InstallEvent; |
| 53 } | 58 } |
| 54 | 59 |
| 55 InstallEvent::InstallEvent() | 60 InstallEvent::InstallEvent() |
| 56 { | 61 { |
| 57 } | 62 } |
| 58 | 63 |
| 59 InstallEvent::InstallEvent(const AtomicString& type, const EventInit& initialize
r, WaitUntilObserver* observer) | 64 InstallEvent::InstallEvent(const AtomicString& type, const InstallEventInit& ini
tializer) |
| 65 : ExtendableEvent(type, initializer) |
| 66 { |
| 67 } |
| 68 |
| 69 InstallEvent::InstallEvent(const AtomicString& type, const InstallEventInit& ini
tializer, WaitUntilObserver* observer) |
| 60 : ExtendableEvent(type, initializer, observer) | 70 : ExtendableEvent(type, initializer, observer) |
| 61 { | 71 { |
| 62 } | 72 } |
| 63 | 73 |
| 64 void InstallEvent::trace(Visitor* visitor) | 74 void InstallEvent::trace(Visitor* visitor) |
| 65 { | 75 { |
| 66 ExtendableEvent::trace(visitor); | 76 ExtendableEvent::trace(visitor); |
| 67 } | 77 } |
| 68 | 78 |
| 69 } // namespace blink | 79 } // namespace blink |
| OLD | NEW |