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

Side by Side Diff: Source/core/events/PageTransitionEvent.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/events/MutationEvent.h ('k') | Source/core/events/PointerEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/core/events/MutationEvent.h ('k') | Source/core/events/PointerEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698