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

Side by Side Diff: Source/modules/webmidi/MIDIAccessPromise.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/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 class DOMError; 44 class DOMError;
45 class MIDIAccess; 45 class MIDIAccess;
46 class MIDIErrorCallback; 46 class MIDIErrorCallback;
47 class MIDISuccessCallback; 47 class MIDISuccessCallback;
48 class ExecutionContext; 48 class ExecutionContext;
49 49
50 struct MIDIOptions; 50 struct MIDIOptions;
51 51
52 class MIDIAccessPromise FINAL : public RefCountedWillBeRefCountedGarbageCollecte d<MIDIAccessPromise>, public ScriptWrappable, public ActiveDOMObject { 52 class MIDIAccessPromise FINAL : public RefCountedWillBeRefCountedGarbageCollecte d<MIDIAccessPromise>, public ScriptWrappable, public ActiveDOMObject {
53 DECLARE_GC_INFO;
54 public: 53 public:
55 static PassRefPtrWillBeRawPtr<MIDIAccessPromise> create(ExecutionContext*, c onst Dictionary&); 54 static PassRefPtrWillBeRawPtr<MIDIAccessPromise> create(ExecutionContext*, c onst Dictionary&);
56 virtual ~MIDIAccessPromise(); 55 virtual ~MIDIAccessPromise();
57 56
58 // ActiveDOMObject 57 // ActiveDOMObject
59 virtual bool hasPendingActivity() const OVERRIDE; 58 virtual bool hasPendingActivity() const OVERRIDE;
60 virtual void stop() OVERRIDE; 59 virtual void stop() OVERRIDE;
61 60
62 MIDIOptions* options() { return m_options.get(); } 61 MIDIOptions* options() { return m_options.get(); }
63 62
(...skipping 20 matching lines...) Expand all
84 OwnPtr<MIDISuccessCallback> m_successCallback; 83 OwnPtr<MIDISuccessCallback> m_successCallback;
85 OwnPtr<MIDIErrorCallback> m_errorCallback; 84 OwnPtr<MIDIErrorCallback> m_errorCallback;
86 OwnPtr<MIDIOptions> m_options; 85 OwnPtr<MIDIOptions> m_options;
87 RefPtr<DOMError> m_error; 86 RefPtr<DOMError> m_error;
88 RefPtrWillBeMember<MIDIAccess> m_access; 87 RefPtrWillBeMember<MIDIAccess> m_access;
89 }; 88 };
90 89
91 } // namespace WebCore 90 } // namespace WebCore
92 91
93 #endif // MIDIAccessPromise_h 92 #endif // MIDIAccessPromise_h
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIAccessPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698