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

Side by Side Diff: third_party/WebKit/Source/core/events/CompositionEvent.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #include "core/events/CompositionEvent.h" 27 #include "core/events/CompositionEvent.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 CompositionEvent::CompositionEvent() 31 CompositionEvent::CompositionEvent()
32 { 32 {
33 } 33 }
34 34
35 CompositionEvent::CompositionEvent(const AtomicString& type, PassRefPtrWillBeRaw Ptr<AbstractView> view, const String& data) 35 CompositionEvent::CompositionEvent(const AtomicString& type, RawPtr<AbstractView > view, const String& data)
36 : UIEvent(type, true, true, view, 0, InputDeviceCapabilities::doesntFireTouc hEventsSourceCapabilities()) 36 : UIEvent(type, true, true, view, 0, InputDeviceCapabilities::doesntFireTouc hEventsSourceCapabilities())
37 , m_data(data) 37 , m_data(data)
38 { 38 {
39 } 39 }
40 40
41 CompositionEvent::CompositionEvent(const AtomicString& type, const CompositionEv entInit& initializer) 41 CompositionEvent::CompositionEvent(const AtomicString& type, const CompositionEv entInit& initializer)
42 : UIEvent(type, initializer) 42 : UIEvent(type, initializer)
43 { 43 {
44 if (initializer.hasData()) 44 if (initializer.hasData())
45 m_data = initializer.data(); 45 m_data = initializer.data();
46 } 46 }
47 47
48 CompositionEvent::~CompositionEvent() 48 CompositionEvent::~CompositionEvent()
49 { 49 {
50 } 50 }
51 51
52 void CompositionEvent::initCompositionEvent(const AtomicString& type, bool canBu bble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, const String& data) 52 void CompositionEvent::initCompositionEvent(const AtomicString& type, bool canBu bble, bool cancelable, RawPtr<AbstractView> view, const String& data)
53 { 53 {
54 if (dispatched()) 54 if (dispatched())
55 return; 55 return;
56 56
57 initUIEvent(type, canBubble, cancelable, view, 0); 57 initUIEvent(type, canBubble, cancelable, view, 0);
58 58
59 m_data = data; 59 m_data = data;
60 } 60 }
61 61
62 const AtomicString& CompositionEvent::interfaceName() const 62 const AtomicString& CompositionEvent::interfaceName() const
63 { 63 {
64 return EventNames::CompositionEvent; 64 return EventNames::CompositionEvent;
65 } 65 }
66 66
67 DEFINE_TRACE(CompositionEvent) 67 DEFINE_TRACE(CompositionEvent)
68 { 68 {
69 UIEvent::trace(visitor); 69 UIEvent::trace(visitor);
70 } 70 }
71 71
72 } // namespace blink 72 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/CompositionEvent.h ('k') | third_party/WebKit/Source/core/events/CustomEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698