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

Side by Side Diff: third_party/WebKit/Source/modules/webmidi/MIDIPort.h

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, 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
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 27 matching lines...) Expand all
38 #include "modules/webmidi/MIDIAccessor.h" 38 #include "modules/webmidi/MIDIAccessor.h"
39 #include "platform/heap/Handle.h" 39 #include "platform/heap/Handle.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class MIDIAccess; 43 class MIDIAccess;
44 44
45 class MIDIPort : public RefCountedGarbageCollectedEventTargetWithInlineData<MIDI Port>, public ActiveDOMObject { 45 class MIDIPort : public RefCountedGarbageCollectedEventTargetWithInlineData<MIDI Port>, public ActiveDOMObject {
46 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MIDIPort); 46 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MIDIPort);
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIPort); 48 USING_GARBAGE_COLLECTED_MIXIN(MIDIPort);
49 public: 49 public:
50 enum ConnectionState { 50 enum ConnectionState {
51 ConnectionStateOpen, 51 ConnectionStateOpen,
52 ConnectionStateClosed, 52 ConnectionStateClosed,
53 ConnectionStatePending 53 ConnectionStatePending
54 }; 54 };
55 55
56 enum TypeCode { 56 enum TypeCode {
57 TypeInput, 57 TypeInput,
58 TypeOutput 58 TypeOutput
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 TypeCode m_type; 105 TypeCode m_type;
106 String m_version; 106 String m_version;
107 Member<MIDIAccess> m_access; 107 Member<MIDIAccess> m_access;
108 MIDIAccessor::MIDIPortState m_state; 108 MIDIAccessor::MIDIPortState m_state;
109 ConnectionState m_connection; 109 ConnectionState m_connection;
110 }; 110 };
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // MIDIPort_h 114 #endif // MIDIPort_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698