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

Unified Diff: Source/modules/webmidi/MIDIErrorCallback.h

Issue 16331005: Web MIDI: implement MIDISuccessCallback and MIDIOptions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant includes Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/webmidi/MIDIErrorCallback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIErrorCallback.h
diff --git a/Source/modules/webmidi/MIDIErrorCallback.h b/Source/modules/webmidi/MIDIErrorCallback.h
index 3a0e41edbee99b7c447866ce544afa475c131c10..2684f7bd58b9d03d854c4da09a60386f00039cd7 100644
--- a/Source/modules/webmidi/MIDIErrorCallback.h
+++ b/Source/modules/webmidi/MIDIErrorCallback.h
@@ -31,21 +31,16 @@
#ifndef MIDIErrorCallback_h
#define MIDIErrorCallback_h
-#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
namespace WebCore {
class DOMError;
-class ScriptExecutionContext;
class MIDIErrorCallback : public RefCounted<MIDIErrorCallback> {
public:
virtual ~MIDIErrorCallback() { }
virtual bool handleEvent(DOMError*) = 0;
-
- // Helper to post callback task.
- void scheduleCallback(ScriptExecutionContext*, PassRefPtr<DOMError>);
};
} // namespace WebCore
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/webmidi/MIDIErrorCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698