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

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

Powered by Google App Engine
This is Rietveld 408576698