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

Side by Side Diff: Source/WebCore/dom/PageTransitionEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebCore/dom/OverflowEvent.cpp ('k') | Source/WebCore/dom/PopStateEvent.cpp » ('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 20 matching lines...) Expand all
31 namespace WebCore { 31 namespace WebCore {
32 32
33 PageTransitionEventInit::PageTransitionEventInit() 33 PageTransitionEventInit::PageTransitionEventInit()
34 : persisted(false) 34 : persisted(false)
35 { 35 {
36 } 36 }
37 37
38 PageTransitionEvent::PageTransitionEvent() 38 PageTransitionEvent::PageTransitionEvent()
39 : m_persisted(false) 39 : m_persisted(false)
40 { 40 {
41 ScriptWrappable::init(this);
41 } 42 }
42 43
43 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste d) 44 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, bool persiste d)
44 : Event(type, true, true) 45 : Event(type, true, true)
45 , m_persisted(persisted) 46 , m_persisted(persisted)
46 { 47 {
48 ScriptWrappable::init(this);
47 } 49 }
48 50
49 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra nsitionEventInit& initializer) 51 PageTransitionEvent::PageTransitionEvent(const AtomicString& type, const PageTra nsitionEventInit& initializer)
50 : Event(type, initializer) 52 : Event(type, initializer)
51 , m_persisted(initializer.persisted) 53 , m_persisted(initializer.persisted)
52 { 54 {
55 ScriptWrappable::init(this);
53 } 56 }
54 57
55 PageTransitionEvent::~PageTransitionEvent() 58 PageTransitionEvent::~PageTransitionEvent()
56 { 59 {
57 } 60 }
58 61
59 const AtomicString& PageTransitionEvent::interfaceName() const 62 const AtomicString& PageTransitionEvent::interfaceName() const
60 { 63 {
61 return eventNames().interfaceForPageTransitionEvent; 64 return eventNames().interfaceForPageTransitionEvent;
62 } 65 }
63 66
64 } // namespace WebCore 67 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/dom/OverflowEvent.cpp ('k') | Source/WebCore/dom/PopStateEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698