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

Side by Side Diff: Source/core/events/BeforeUnloadEvent.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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/AutocompleteErrorEvent.h ('k') | Source/core/events/CompositionEvent.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) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2005, 2006 Apple Computer, Inc. 5 * Copyright (C) 2003, 2005, 2006 Apple Computer, Inc.
6 * Copyright (C) 2013 Samsung Electronics. 6 * Copyright (C) 2013 Samsung Electronics.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 12 matching lines...) Expand all
23 23
24 #include "config.h" 24 #include "config.h"
25 #include "core/events/BeforeUnloadEvent.h" 25 #include "core/events/BeforeUnloadEvent.h"
26 26
27 27
28 namespace blink { 28 namespace blink {
29 29
30 BeforeUnloadEvent::BeforeUnloadEvent() 30 BeforeUnloadEvent::BeforeUnloadEvent()
31 : Event(EventTypeNames::beforeunload, false, true) 31 : Event(EventTypeNames::beforeunload, false, true)
32 { 32 {
33 ScriptWrappable::init(this);
34 } 33 }
35 34
36 BeforeUnloadEvent::~BeforeUnloadEvent() 35 BeforeUnloadEvent::~BeforeUnloadEvent()
37 { 36 {
38 } 37 }
39 38
40 bool BeforeUnloadEvent::isBeforeUnloadEvent() const 39 bool BeforeUnloadEvent::isBeforeUnloadEvent() const
41 { 40 {
42 return true; 41 return true;
43 } 42 }
44 43
45 void BeforeUnloadEvent::trace(Visitor* visitor) 44 void BeforeUnloadEvent::trace(Visitor* visitor)
46 { 45 {
47 Event::trace(visitor); 46 Event::trace(visitor);
48 } 47 }
49 48
50 } // namespace blink 49 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/events/AutocompleteErrorEvent.h ('k') | Source/core/events/CompositionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698