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

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

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 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
« no previous file with comments | « Source/core/events/ClipboardEvent.h ('k') | Source/core/events/MouseEvent.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) 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, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 11 matching lines...) Expand all
22 22
23 #include "config.h" 23 #include "config.h"
24 #include "core/events/ClipboardEvent.h" 24 #include "core/events/ClipboardEvent.h"
25 25
26 namespace blink { 26 namespace blink {
27 27
28 ClipboardEvent::ClipboardEvent() 28 ClipboardEvent::ClipboardEvent()
29 { 29 {
30 } 30 }
31 31
32 ClipboardEvent::ClipboardEvent(const AtomicString& eventType, bool canBubble, bo ol cancelable, PassRefPtrWillBeRawPtr<DataTransfer> clipboardData) 32 ClipboardEvent::ClipboardEvent(const AtomicString& eventType, bool canBubble, bo ol cancelable, DataTransfer* clipboardData)
33 : Event(eventType, canBubble, cancelable), m_clipboardData(clipboardData) 33 : Event(eventType, canBubble, cancelable), m_clipboardData(clipboardData)
34 { 34 {
35 } 35 }
36 36
37 ClipboardEvent::~ClipboardEvent() 37 ClipboardEvent::~ClipboardEvent()
38 { 38 {
39 } 39 }
40 40
41 const AtomicString& ClipboardEvent::interfaceName() const 41 const AtomicString& ClipboardEvent::interfaceName() const
42 { 42 {
43 return EventNames::ClipboardEvent; 43 return EventNames::ClipboardEvent;
44 } 44 }
45 45
46 bool ClipboardEvent::isClipboardEvent() const 46 bool ClipboardEvent::isClipboardEvent() const
47 { 47 {
48 return true; 48 return true;
49 } 49 }
50 50
51 DEFINE_TRACE(ClipboardEvent) 51 DEFINE_TRACE(ClipboardEvent)
52 { 52 {
53 visitor->trace(m_clipboardData); 53 visitor->trace(m_clipboardData);
54 Event::trace(visitor); 54 Event::trace(visitor);
55 } 55 }
56 56
57 } // namespace blink 57 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/events/ClipboardEvent.h ('k') | Source/core/events/MouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698