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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // EventTarget 85 // EventTarget
86 const AtomicString& interfaceName() const override { 86 const AtomicString& interfaceName() const override {
87 return EventTargetNames::MIDIPort; 87 return EventTargetNames::MIDIPort;
88 } 88 }
89 ExecutionContext* getExecutionContext() const final; 89 ExecutionContext* getExecutionContext() const final;
90 90
91 // ScriptWrappable 91 // ScriptWrappable
92 bool hasPendingActivity() const final; 92 bool hasPendingActivity() const final;
93 93
94 // ActiveDOMObject 94 // ActiveDOMObject
95 void stop() override; 95 void contextDestroyed() override;
96 96
97 protected: 97 protected:
98 MIDIPort(MIDIAccess*, 98 MIDIPort(MIDIAccess*,
99 const String& id, 99 const String& id,
100 const String& manufacturer, 100 const String& manufacturer,
101 const String& name, 101 const String& name,
102 TypeCode, 102 TypeCode,
103 const String& version, 103 const String& version,
104 MIDIAccessor::MIDIPortState); 104 MIDIAccessor::MIDIPortState);
105 105
(...skipping 11 matching lines...) Expand all
117 TypeCode m_type; 117 TypeCode m_type;
118 String m_version; 118 String m_version;
119 Member<MIDIAccess> m_access; 119 Member<MIDIAccess> m_access;
120 MIDIAccessor::MIDIPortState m_state; 120 MIDIAccessor::MIDIPortState m_state;
121 ConnectionState m_connection; 121 ConnectionState m_connection;
122 }; 122 };
123 123
124 } // namespace blink 124 } // namespace blink
125 125
126 #endif // MIDIPort_h 126 #endif // MIDIPort_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698