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

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

Issue 2392463004: reflow comments in modules/{webmidi,websocket} (Closed)
Patch Set: 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ~MIDIInput() override {} 52 ~MIDIInput() override {}
53 53
54 EventListener* onmidimessage(); 54 EventListener* onmidimessage();
55 void setOnmidimessage(EventListener*); 55 void setOnmidimessage(EventListener*);
56 56
57 // EventTarget 57 // EventTarget
58 const AtomicString& interfaceName() const override { 58 const AtomicString& interfaceName() const override {
59 return EventTargetNames::MIDIInput; 59 return EventTargetNames::MIDIInput;
60 } 60 }
61 61
62 // |timeStamp| is a DOMHighResTimeStamp in the time coordinate system of perfo rmance.now(). 62 // |timeStamp| is a DOMHighResTimeStamp in the time coordinate system of
63 // performance.now().
63 void didReceiveMIDIData(unsigned portIndex, 64 void didReceiveMIDIData(unsigned portIndex,
64 const unsigned char* data, 65 const unsigned char* data,
65 size_t length, 66 size_t length,
66 double timeStamp); 67 double timeStamp);
67 68
68 DECLARE_VIRTUAL_TRACE(); 69 DECLARE_VIRTUAL_TRACE();
69 70
70 protected: 71 protected:
71 void addedEventListener(const AtomicString& eventType, 72 void addedEventListener(const AtomicString& eventType,
72 RegisteredEventListener&) override; 73 RegisteredEventListener&) override;
73 74
74 private: 75 private:
75 MIDIInput(MIDIAccess*, 76 MIDIInput(MIDIAccess*,
76 const String& id, 77 const String& id,
77 const String& manufacturer, 78 const String& manufacturer,
78 const String& name, 79 const String& name,
79 const String& version, 80 const String& version,
80 MIDIAccessor::MIDIPortState); 81 MIDIAccessor::MIDIPortState);
81 }; 82 };
82 83
83 } // namespace blink 84 } // namespace blink
84 85
85 #endif // MIDIInput_h 86 #endif // MIDIInput_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp ('k') | third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698