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

Side by Side Diff: Source/modules/webmidi/MIDIAccess.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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/modules/speech/SpeechSynthesisVoice.cpp ('k') | Source/modules/webmidi/MIDIAccess.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "wtf/RefCounted.h" 42 #include "wtf/RefCounted.h"
43 #include "wtf/RefPtr.h" 43 #include "wtf/RefPtr.h"
44 #include "wtf/Vector.h" 44 #include "wtf/Vector.h"
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 class ExecutionContext; 48 class ExecutionContext;
49 class MIDIAccessPromise; 49 class MIDIAccessPromise;
50 50
51 class MIDIAccess FINAL : public RefCountedWillBeRefCountedGarbageCollected<MIDIA ccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithIn lineData, public MIDIAccessorClient { 51 class MIDIAccess FINAL : public RefCountedWillBeRefCountedGarbageCollected<MIDIA ccess>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithIn lineData, public MIDIAccessorClient {
52 DECLARE_GC_INFO;
53 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<M IDIAccess>); 52 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<M IDIAccess>);
54 public: 53 public:
55 virtual ~MIDIAccess(); 54 virtual ~MIDIAccess();
56 static PassRefPtrWillBeRawPtr<MIDIAccess> create(ExecutionContext*, MIDIAcce ssPromise*); 55 static PassRefPtrWillBeRawPtr<MIDIAccess> create(ExecutionContext*, MIDIAcce ssPromise*);
57 56
58 MIDIInputVector inputs() const { return m_inputs; } 57 MIDIInputVector inputs() const { return m_inputs; }
59 MIDIOutputVector outputs() const { return m_outputs; } 58 MIDIOutputVector outputs() const { return m_outputs; }
60 59
61 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect); 60 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect);
62 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect); 61 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 93
95 OwnPtr<MIDIAccessor> m_accessor; 94 OwnPtr<MIDIAccessor> m_accessor;
96 bool m_hasAccess; 95 bool m_hasAccess;
97 bool m_sysExEnabled; 96 bool m_sysExEnabled;
98 bool m_requesting; 97 bool m_requesting;
99 }; 98 };
100 99
101 } // namespace WebCore 100 } // namespace WebCore
102 101
103 #endif // MIDIAccess_h 102 #endif // MIDIAccess_h
OLDNEW
« no previous file with comments | « Source/modules/speech/SpeechSynthesisVoice.cpp ('k') | Source/modules/webmidi/MIDIAccess.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698