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

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

Issue 200783002: Gamepad API: add support for gamepadconnected and gamepaddisconnected events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: layout fix: webexposed/global-constructors-listing Created 6 years, 9 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
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 28 matching lines...) Expand all
39 #include "wtf/HashSet.h" 39 #include "wtf/HashSet.h"
40 #include "wtf/Vector.h" 40 #include "wtf/Vector.h"
41 #include "wtf/text/AtomicString.h" 41 #include "wtf/text/AtomicString.h"
42 #include "wtf/text/WTFString.h" 42 #include "wtf/text/WTFString.h"
43 43
44 namespace WebCore { 44 namespace WebCore {
45 45
46 class ArrayValue; 46 class ArrayValue;
47 class DOMError; 47 class DOMError;
48 class DOMWindow; 48 class DOMWindow;
49 class Gamepad;
49 class IDBKeyRange; 50 class IDBKeyRange;
50 class MIDIPort; 51 class MIDIPort;
51 class MediaKeyError; 52 class MediaKeyError;
52 class Notification; 53 class Notification;
53 class SpeechRecognitionError; 54 class SpeechRecognitionError;
54 class SpeechRecognitionResult; 55 class SpeechRecognitionResult;
55 class SpeechRecognitionResultList; 56 class SpeechRecognitionResultList;
56 class Storage; 57 class Storage;
57 class TrackBase; 58 class TrackBase;
58 class VoidCallback; 59 class VoidCallback;
(...skipping 25 matching lines...) Expand all
84 bool get(const String&, RefPtrWillBeMember<Storage>&) const; 85 bool get(const String&, RefPtrWillBeMember<Storage>&) const;
85 bool get(const String&, MessagePortArray&) const; 86 bool get(const String&, MessagePortArray&) const;
86 bool get(const String&, RefPtr<Uint8Array>&) const; 87 bool get(const String&, RefPtr<Uint8Array>&) const;
87 bool get(const String&, RefPtr<ArrayBufferView>&) const; 88 bool get(const String&, RefPtr<ArrayBufferView>&) const;
88 bool get(const String&, RefPtr<MIDIPort>&) const; 89 bool get(const String&, RefPtr<MIDIPort>&) const;
89 bool get(const String&, RefPtr<MediaKeyError>&) const; 90 bool get(const String&, RefPtr<MediaKeyError>&) const;
90 bool get(const String&, RefPtr<TrackBase>&) const; 91 bool get(const String&, RefPtr<TrackBase>&) const;
91 bool get(const String&, RefPtr<SpeechRecognitionError>&) const; 92 bool get(const String&, RefPtr<SpeechRecognitionError>&) const;
92 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResult>&) const; 93 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResult>&) const;
93 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResultList>&) co nst; 94 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResultList>&) co nst;
95 bool get(const String&, RefPtrWillBeRawPtr<Gamepad>&) const;
94 bool get(const String&, RefPtr<MediaStream>&) const; 96 bool get(const String&, RefPtr<MediaStream>&) const;
95 bool get(const String&, RefPtr<EventTarget>&) const; 97 bool get(const String&, RefPtr<EventTarget>&) const;
96 bool get(const String&, HashSet<AtomicString>&) const; 98 bool get(const String&, HashSet<AtomicString>&) const;
97 bool get(const String&, Dictionary&) const; 99 bool get(const String&, Dictionary&) const;
98 bool get(const String&, Vector<String>&) const; 100 bool get(const String&, Vector<String>&) const;
99 bool get(const String&, ArrayValue&) const; 101 bool get(const String&, ArrayValue&) const;
100 bool get(const String&, RefPtrWillBeRawPtr<DOMError>&) const; 102 bool get(const String&, RefPtrWillBeRawPtr<DOMError>&) const;
101 bool get(const String&, OwnPtr<VoidCallback>&) const; 103 bool get(const String&, OwnPtr<VoidCallback>&) const;
102 bool get(const String&, v8::Local<v8::Value>&) const; 104 bool get(const String&, v8::Local<v8::Value>&) const;
103 105
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) 345 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
344 return true; 346 return true;
345 347
346 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type.")); 348 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type."));
347 return false; 349 return false;
348 } 350 }
349 351
350 } 352 }
351 353
352 #endif // Dictionary_h 354 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-expected.txt ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698