OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 29 matching lines...) Expand all Loading... |
40 } | 40 } |
41 static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString
& type, bool persisted) | 41 static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString
& type, bool persisted) |
42 { | 42 { |
43 return adoptRefWillBeNoop(new PageTransitionEvent(type, persisted)); | 43 return adoptRefWillBeNoop(new PageTransitionEvent(type, persisted)); |
44 } | 44 } |
45 static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString
& type, const PageTransitionEventInit& initializer) | 45 static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString
& type, const PageTransitionEventInit& initializer) |
46 { | 46 { |
47 return adoptRefWillBeNoop(new PageTransitionEvent(type, initializer)); | 47 return adoptRefWillBeNoop(new PageTransitionEvent(type, initializer)); |
48 } | 48 } |
49 | 49 |
50 virtual ~PageTransitionEvent(); | 50 ~PageTransitionEvent() override; |
51 | 51 |
52 virtual const AtomicString& interfaceName() const override; | 52 const AtomicString& interfaceName() const override; |
53 | 53 |
54 bool persisted() const { return m_persisted; } | 54 bool persisted() const { return m_persisted; } |
55 | 55 |
56 DECLARE_VIRTUAL_TRACE(); | 56 DECLARE_VIRTUAL_TRACE(); |
57 | 57 |
58 private: | 58 private: |
59 PageTransitionEvent(); | 59 PageTransitionEvent(); |
60 PageTransitionEvent(const AtomicString& type, bool persisted); | 60 PageTransitionEvent(const AtomicString& type, bool persisted); |
61 PageTransitionEvent(const AtomicString&, const PageTransitionEventInit&); | 61 PageTransitionEvent(const AtomicString&, const PageTransitionEventInit&); |
62 | 62 |
63 bool m_persisted; | 63 bool m_persisted; |
64 }; | 64 }; |
65 | 65 |
66 } // namespace blink | 66 } // namespace blink |
67 | 67 |
68 #endif // PageTransitionEvent_h | 68 #endif // PageTransitionEvent_h |
OLD | NEW |