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

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

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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
« no previous file with comments | « Source/modules/webmidi/MIDIOutput.h ('k') | Source/modules/webmidi/NavigatorWebMIDI.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 String id() const { return m_id; } 53 String id() const { return m_id; }
54 String manufacturer() const { return m_manufacturer; } 54 String manufacturer() const { return m_manufacturer; }
55 String name() const { return m_name; } 55 String name() const { return m_name; }
56 String type() const; 56 String type() const;
57 String version() const { return m_version; } 57 String version() const { return m_version; }
58 58
59 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect); 59 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
60 60
61 // EventTarget 61 // EventTarget
62 virtual const AtomicString& interfaceName() const OVERRIDE { return EventTar getNames::MIDIPort; } 62 virtual const AtomicString& interfaceName() const OVERRIDE { return EventTar getNames::MIDIPort; }
63 virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveD OMObject::executionContext(); } 63 virtual ExecutionContext* executionContext() const OVERRIDE FINAL { return A ctiveDOMObject::executionContext(); }
64 64
65 protected: 65 protected:
66 MIDIPort(ExecutionContext*, const String& id, const String& manufacturer, co nst String& name, MIDIPortTypeCode, const String& version); 66 MIDIPort(ExecutionContext*, const String& id, const String& manufacturer, co nst String& name, MIDIPortTypeCode, const String& version);
67 67
68 private: 68 private:
69 String m_id; 69 String m_id;
70 String m_manufacturer; 70 String m_manufacturer;
71 String m_name; 71 String m_name;
72 MIDIPortTypeCode m_type; 72 MIDIPortTypeCode m_type;
73 String m_version; 73 String m_version;
74 }; 74 };
75 75
76 typedef Vector<RefPtr<MIDIPort> > MIDIPortVector; 76 typedef Vector<RefPtr<MIDIPort> > MIDIPortVector;
77 77
78 } // namespace WebCore 78 } // namespace WebCore
79 79
80 #endif // MIDIPort_h 80 #endif // MIDIPort_h
OLDNEW
« no previous file with comments | « Source/modules/webmidi/MIDIOutput.h ('k') | Source/modules/webmidi/NavigatorWebMIDI.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698