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

Side by Side Diff: Source/bindings/v8/Dictionary.h

Issue 14358032: Web MIDI: implement MIDIConnectionEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: (rebase) Created 7 years, 8 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 #include "wtf/text/AtomicString.h" 36 #include "wtf/text/AtomicString.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class ArrayValue; 41 class ArrayValue;
42 class CSSFontFaceRule; 42 class CSSFontFaceRule;
43 class DOMError; 43 class DOMError;
44 class DOMWindow; 44 class DOMWindow;
45 class IDBKeyRange; 45 class IDBKeyRange;
46 class MIDIPort;
46 class MediaKeyError; 47 class MediaKeyError;
47 class Notification; 48 class Notification;
48 class SpeechRecognitionError; 49 class SpeechRecognitionError;
49 class SpeechRecognitionResult; 50 class SpeechRecognitionResult;
50 class SpeechRecognitionResultList; 51 class SpeechRecognitionResultList;
51 class Storage; 52 class Storage;
52 class TrackBase; 53 class TrackBase;
53 class VoidCallback; 54 class VoidCallback;
54 55
55 class Dictionary { 56 class Dictionary {
(...skipping 14 matching lines...) Expand all
70 bool get(const String&, ScriptValue&) const; 71 bool get(const String&, ScriptValue&) const;
71 bool get(const String&, short&) const; 72 bool get(const String&, short&) const;
72 bool get(const String&, unsigned short&) const; 73 bool get(const String&, unsigned short&) const;
73 bool get(const String&, unsigned&) const; 74 bool get(const String&, unsigned&) const;
74 bool get(const String&, unsigned long&) const; 75 bool get(const String&, unsigned long&) const;
75 bool get(const String&, unsigned long long&) const; 76 bool get(const String&, unsigned long long&) const;
76 bool get(const String&, RefPtr<DOMWindow>&) const; 77 bool get(const String&, RefPtr<DOMWindow>&) const;
77 bool get(const String&, RefPtr<Storage>&) const; 78 bool get(const String&, RefPtr<Storage>&) const;
78 bool get(const String&, MessagePortArray&) const; 79 bool get(const String&, MessagePortArray&) const;
79 bool get(const String&, RefPtr<Uint8Array>&) const; 80 bool get(const String&, RefPtr<Uint8Array>&) const;
81 bool get(const String&, RefPtr<MIDIPort>&) const;
80 #if ENABLE(ENCRYPTED_MEDIA) 82 #if ENABLE(ENCRYPTED_MEDIA)
81 bool get(const String&, RefPtr<MediaKeyError>&) const; 83 bool get(const String&, RefPtr<MediaKeyError>&) const;
82 #endif 84 #endif
83 bool get(const String&, RefPtr<TrackBase>&) const; 85 bool get(const String&, RefPtr<TrackBase>&) const;
84 bool get(const String&, RefPtr<SpeechRecognitionError>&) const; 86 bool get(const String&, RefPtr<SpeechRecognitionError>&) const;
85 bool get(const String&, RefPtr<SpeechRecognitionResult>&) const; 87 bool get(const String&, RefPtr<SpeechRecognitionResult>&) const;
86 bool get(const String&, RefPtr<SpeechRecognitionResultList>&) const; 88 bool get(const String&, RefPtr<SpeechRecognitionResultList>&) const;
87 #if ENABLE(MEDIA_STREAM) 89 #if ENABLE(MEDIA_STREAM)
88 bool get(const String&, RefPtr<MediaStream>&) const; 90 bool get(const String&, RefPtr<MediaStream>&) const;
89 #endif 91 #endif
(...skipping 21 matching lines...) Expand all
111 static void* operator new[](size_t); 113 static void* operator new[](size_t);
112 static void operator delete(void *); 114 static void operator delete(void *);
113 115
114 v8::Local<v8::Value> m_options; 116 v8::Local<v8::Value> m_options;
115 v8::Isolate* m_isolate; 117 v8::Isolate* m_isolate;
116 }; 118 };
117 119
118 } 120 }
119 121
120 #endif // Dictionary_h 122 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/constructors/midi-connection-event-constructor-expected.txt ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698