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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MIDIAccessInitializer_h 5 #ifndef MIDIAccessInitializer_h
6 #define MIDIAccessInitializer_h 6 #define MIDIAccessInitializer_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void resolveSysexPermission(bool allowed); 63 void resolveSysexPermission(bool allowed);
64 SecurityOrigin* securityOrigin() const; 64 SecurityOrigin* securityOrigin() const;
65 65
66 private: 66 private:
67 MIDIAccessInitializer(ScriptState*, const MIDIOptions&); 67 MIDIAccessInitializer(ScriptState*, const MIDIOptions&);
68 68
69 ExecutionContext* executionContext() const; 69 ExecutionContext* executionContext() const;
70 ScriptPromise start(); 70 ScriptPromise start();
71 void dispose(); 71 void dispose();
72 72
73 virtual void contextDestroyed() override; 73 void contextDestroyed() override;
74 74
75 OwnPtr<MIDIAccessor> m_accessor; 75 OwnPtr<MIDIAccessor> m_accessor;
76 Vector<PortDescriptor> m_portDescriptors; 76 Vector<PortDescriptor> m_portDescriptors;
77 bool m_requestSysex; 77 bool m_requestSysex;
78 bool m_hasBeenDisposed; 78 bool m_hasBeenDisposed;
79 bool m_sysexPermissionResolved; 79 bool m_sysexPermissionResolved;
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // MIDIAccessInitializer_h 84 #endif // MIDIAccessInitializer_h
OLDNEW
« no previous file with comments | « Source/modules/webgl/WebGLVertexArrayObjectBase.h ('k') | Source/modules/webmidi/MIDIAccessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698