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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/webaudio/ScriptProcessorNode.h ('k') | Source/modules/websockets/WebSocket.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 enum MIDIPortTypeCode { 45 enum MIDIPortTypeCode {
46 MIDIPortTypeInput, 46 MIDIPortTypeInput,
47 MIDIPortTypeOutput 47 MIDIPortTypeOutput
48 }; 48 };
49 49
50 static PassRefPtr<MIDIPort> create(ScriptExecutionContext*, const String& id , const String& manufacturer, const String& name, MIDIPortTypeCode, const String & version); 50 static PassRefPtr<MIDIPort> create(ScriptExecutionContext*, const String& id , const String& manufacturer, const String& name, MIDIPortTypeCode, const String & version);
51 virtual ~MIDIPort(); 51 virtual ~MIDIPort();
52 52
53 virtual void trace(Visitor*) { } 53 virtual void trace(Visitor*) { }
54 54
55 virtual void visitWith(Visitor* visitor) const OVERRIDE 55 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
56 { 56 {
57 visitor->visit(this); 57 visitor->mark(this);
58 } 58 }
59 59
60 String id() const { return m_id; } 60 String id() const { return m_id; }
61 String manufacturer() const { return m_manufacturer; } 61 String manufacturer() const { return m_manufacturer; }
62 String name() const { return m_name; } 62 String name() const { return m_name; }
63 String type() const; 63 String type() const;
64 String version() const { return m_version; } 64 String version() const { return m_version; }
65 65
66 using RefCountedGarbageCollected<MIDIPort>::ref; 66 using RefCountedGarbageCollected<MIDIPort>::ref;
67 using RefCountedGarbageCollected<MIDIPort>::deref; 67 using RefCountedGarbageCollected<MIDIPort>::deref;
(...skipping 21 matching lines...) Expand all
89 MIDIPortTypeCode m_type; 89 MIDIPortTypeCode m_type;
90 String m_version; 90 String m_version;
91 EventTargetData m_eventTargetData; 91 EventTargetData m_eventTargetData;
92 }; 92 };
93 93
94 typedef Vector<RefPtr<MIDIPort> > MIDIPortVector; 94 typedef Vector<RefPtr<MIDIPort> > MIDIPortVector;
95 95
96 } // namespace WebCore 96 } // namespace WebCore
97 97
98 #endif // MIDIPort_h 98 #endif // MIDIPort_h
OLDNEW
« no previous file with comments | « Source/modules/webaudio/ScriptProcessorNode.h ('k') | Source/modules/websockets/WebSocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698