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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 24 matching lines...) Expand all
35 #include "core/dom/ActiveDOMObject.h" 35 #include "core/dom/ActiveDOMObject.h"
36 #include "modules/EventTargetModules.h" 36 #include "modules/EventTargetModules.h"
37 #include "modules/webmidi/MIDIAccessInitializer.h" 37 #include "modules/webmidi/MIDIAccessInitializer.h"
38 #include "modules/webmidi/MIDIAccessor.h" 38 #include "modules/webmidi/MIDIAccessor.h"
39 #include "modules/webmidi/MIDIAccessorClient.h" 39 #include "modules/webmidi/MIDIAccessorClient.h"
40 #include "modules/webmidi/MIDIInput.h" 40 #include "modules/webmidi/MIDIInput.h"
41 #include "modules/webmidi/MIDIOutput.h" 41 #include "modules/webmidi/MIDIOutput.h"
42 #include "platform/heap/Handle.h" 42 #include "platform/heap/Handle.h"
43 #include "wtf/Vector.h" 43 #include "wtf/Vector.h"
44 44
45 namespace WebCore { 45 namespace blink {
46 46
47 class ExecutionContext; 47 class ExecutionContext;
48 struct MIDIOptions; 48 struct MIDIOptions;
49 49
50 class MIDIAccess FINAL : public RefCountedGarbageCollectedWillBeGarbageCollected Finalized<MIDIAccess>, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient { 50 class MIDIAccess FINAL : public RefCountedGarbageCollectedWillBeGarbageCollected Finalized<MIDIAccess>, public ActiveDOMObject, public EventTargetWithInlineData, public MIDIAccessorClient {
51 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<M IDIAccess>); 51 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<M IDIAccess>);
52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIAccess); 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIAccess);
53 public: 53 public:
54 static MIDIAccess* create(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabl ed, const Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext * executionContext) 54 static MIDIAccess* create(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabl ed, const Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext * executionContext)
55 { 55 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 private: 93 private:
94 MIDIAccess(PassOwnPtr<MIDIAccessor>, bool sysexEnabled, const Vector<MIDIAcc essInitializer::PortDescriptor>&, ExecutionContext*); 94 MIDIAccess(PassOwnPtr<MIDIAccessor>, bool sysexEnabled, const Vector<MIDIAcc essInitializer::PortDescriptor>&, ExecutionContext*);
95 95
96 OwnPtr<MIDIAccessor> m_accessor; 96 OwnPtr<MIDIAccessor> m_accessor;
97 bool m_sysexEnabled; 97 bool m_sysexEnabled;
98 MIDIInputVector m_inputs; 98 MIDIInputVector m_inputs;
99 MIDIOutputVector m_outputs; 99 MIDIOutputVector m_outputs;
100 }; 100 };
101 101
102 } // namespace WebCore 102 } // namespace blink
103 103
104 #endif // MIDIAccess_h 104 #endif // MIDIAccess_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/sqlite/SQLiteTransaction.cpp ('k') | Source/modules/webmidi/MIDIAccess.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698