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

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

Issue 103083002: Decouple FileSystem and WebSQL callbacks from VoidCallback and it non-refcounted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool get(const String&, RefPtr<SpeechRecognitionError>&) const; 89 bool get(const String&, RefPtr<SpeechRecognitionError>&) const;
90 bool get(const String&, RefPtr<SpeechRecognitionResult>&) const; 90 bool get(const String&, RefPtr<SpeechRecognitionResult>&) const;
91 bool get(const String&, RefPtr<SpeechRecognitionResultList>&) const; 91 bool get(const String&, RefPtr<SpeechRecognitionResultList>&) const;
92 bool get(const String&, RefPtr<MediaStream>&) const; 92 bool get(const String&, RefPtr<MediaStream>&) const;
93 bool get(const String&, RefPtr<EventTarget>&) const; 93 bool get(const String&, RefPtr<EventTarget>&) const;
94 bool get(const String&, HashSet<AtomicString>&) const; 94 bool get(const String&, HashSet<AtomicString>&) const;
95 bool get(const String&, Dictionary&) const; 95 bool get(const String&, Dictionary&) const;
96 bool get(const String&, Vector<String>&) const; 96 bool get(const String&, Vector<String>&) const;
97 bool get(const String&, ArrayValue&) const; 97 bool get(const String&, ArrayValue&) const;
98 bool get(const String&, RefPtr<DOMError>&) const; 98 bool get(const String&, RefPtr<DOMError>&) const;
99 bool get(const String&, RefPtr<VoidCallback>&) const; 99 bool get(const String&, OwnPtr<VoidCallback>&) const;
100 bool get(const String&, v8::Local<v8::Value>&) const; 100 bool get(const String&, v8::Local<v8::Value>&) const;
101 101
102 class ConversionContext { 102 class ConversionContext {
103 public: 103 public:
104 ConversionContext(const String& interfaceName, const String& methodName, ExceptionState& exceptionState) 104 ConversionContext(const String& interfaceName, const String& methodName, ExceptionState& exceptionState)
105 : m_interfaceName(interfaceName) 105 : m_interfaceName(interfaceName)
106 , m_methodName(methodName) 106 , m_methodName(methodName)
107 , m_exceptionState(exceptionState) 107 , m_exceptionState(exceptionState)
108 , m_dirty(true) 108 , m_dirty(true)
109 { 109 {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does not have " + (context.typeName().isEmpty() ? String("the expected type.") : ("a " + context.typeName() + " type.")))); 326 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does not have " + (context.typeName().isEmpty() ? String("the expected type.") : ("a " + context.typeName() + " type."))));
327 return false; 327 return false;
328 } 328 }
329 } 329 }
330 return true; 330 return true;
331 } 331 }
332 332
333 } 333 }
334 334
335 #endif // Dictionary_h 335 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.pm ('k') | Source/bindings/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698