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

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

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/bindings/v8/Dictionary.cpp » ('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) 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class ArrayValue; 46 class ArrayValue;
47 class DOMError; 47 class DOMError;
48 class DOMWindow; 48 class DOMWindow;
49 class Gamepad; 49 class Gamepad;
50 class MediaStream; 50 class MediaStream;
51 class HeaderMap; 51 class HeaderMap;
52 class IDBKeyRange; 52 class IDBKeyRange;
53 class MIDIPort; 53 class MIDIPort;
54 class MediaKeyError; 54 class MediaKeyError;
55 class Notification; 55 class Notification;
56 class SpeechRecognitionError;
57 class SpeechRecognitionResult; 56 class SpeechRecognitionResult;
58 class SpeechRecognitionResultList; 57 class SpeechRecognitionResultList;
59 class Storage; 58 class Storage;
60 class TrackBase; 59 class TrackBase;
61 class VoidCallback; 60 class VoidCallback;
62 61
63 class Dictionary { 62 class Dictionary {
64 ALLOW_ONLY_INLINE_ALLOCATION(); 63 ALLOW_ONLY_INLINE_ALLOCATION();
65 public: 64 public:
66 Dictionary(); 65 Dictionary();
(...skipping 18 matching lines...) Expand all
85 bool get(const String&, unsigned long&) const; 84 bool get(const String&, unsigned long&) const;
86 bool get(const String&, unsigned long long&) const; 85 bool get(const String&, unsigned long long&) const;
87 bool get(const String&, RefPtrWillBeMember<DOMWindow>&) const; 86 bool get(const String&, RefPtrWillBeMember<DOMWindow>&) const;
88 bool get(const String&, RefPtrWillBeMember<Storage>&) const; 87 bool get(const String&, RefPtrWillBeMember<Storage>&) const;
89 bool get(const String&, MessagePortArray&) const; 88 bool get(const String&, MessagePortArray&) const;
90 bool get(const String&, RefPtr<Uint8Array>&) const; 89 bool get(const String&, RefPtr<Uint8Array>&) const;
91 bool get(const String&, RefPtr<ArrayBufferView>&) const; 90 bool get(const String&, RefPtr<ArrayBufferView>&) const;
92 bool get(const String&, RefPtr<MIDIPort>&) const; 91 bool get(const String&, RefPtr<MIDIPort>&) const;
93 bool get(const String&, RefPtr<MediaKeyError>&) const; 92 bool get(const String&, RefPtr<MediaKeyError>&) const;
94 bool get(const String&, RefPtrWillBeMember<TrackBase>&) const; 93 bool get(const String&, RefPtrWillBeMember<TrackBase>&) const;
95 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionError>&) const; 94 bool get(const String&, Member<SpeechRecognitionResult>&) const;
96 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResult>&) const; 95 bool get(const String&, Member<SpeechRecognitionResultList>&) const;
97 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResultList>&) co nst;
98 bool get(const String&, Member<Gamepad>&) const; 96 bool get(const String&, Member<Gamepad>&) const;
99 bool get(const String&, RefPtr<MediaStream>&) const; 97 bool get(const String&, RefPtr<MediaStream>&) const;
100 bool get(const String&, RefPtrWillBeMember<EventTarget>&) const; 98 bool get(const String&, RefPtrWillBeMember<EventTarget>&) const;
101 bool get(const String&, HashSet<AtomicString>&) const; 99 bool get(const String&, HashSet<AtomicString>&) const;
102 bool get(const String&, Dictionary&) const; 100 bool get(const String&, Dictionary&) const;
103 bool get(const String&, Vector<String>&) const; 101 bool get(const String&, Vector<String>&) const;
104 bool get(const String&, ArrayValue&) const; 102 bool get(const String&, ArrayValue&) const;
105 bool get(const String&, RefPtrWillBeMember<DOMError>&) const; 103 bool get(const String&, RefPtrWillBeMember<DOMError>&) const;
106 bool get(const String&, v8::Local<v8::Value>&) const; 104 bool get(const String&, v8::Local<v8::Value>&) const;
107 bool get(const String&, RefPtr<HeaderMap>&) const; 105 bool get(const String&, RefPtr<HeaderMap>&) const;
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) 340 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
343 return true; 341 return true;
344 342
345 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type.")); 343 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type."));
346 return false; 344 return false;
347 } 345 }
348 346
349 } 347 }
350 348
351 #endif // Dictionary_h 349 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698