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

Side by Side Diff: Source/core/speech/SpeechInputResultList.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/speech/SpeechInputResult.cpp ('k') | Source/core/speech/SpeechInputResultList.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 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 30
31 #include "bindings/v8/ScriptWrappable.h" 31 #include "bindings/v8/ScriptWrappable.h"
32 #include "core/speech/SpeechInputResult.h" 32 #include "core/speech/SpeechInputResult.h"
33 #include "heap/Handle.h" 33 #include "heap/Handle.h"
34 #include "wtf/PassRefPtr.h" 34 #include "wtf/PassRefPtr.h"
35 #include "wtf/RefCounted.h" 35 #include "wtf/RefCounted.h"
36 36
37 namespace WebCore { 37 namespace WebCore {
38 38
39 class SpeechInputResultList : public RefCountedWillBeGarbageCollectedFinalized<S peechInputResultList>, public ScriptWrappable { 39 class SpeechInputResultList : public RefCountedWillBeGarbageCollectedFinalized<S peechInputResultList>, public ScriptWrappable {
40 DECLARE_GC_INFO;
41 public: 40 public:
42 static PassRefPtrWillBeRawPtr<SpeechInputResultList> create(const SpeechInpu tResultArray& results); 41 static PassRefPtrWillBeRawPtr<SpeechInputResultList> create(const SpeechInpu tResultArray& results);
43 42
44 // Methods from the IDL. 43 // Methods from the IDL.
45 size_t length() { return m_results.size(); } 44 size_t length() { return m_results.size(); }
46 SpeechInputResult* item(unsigned index); 45 SpeechInputResult* item(unsigned index);
47 46
48 void trace(Visitor *); 47 void trace(Visitor *);
49 48
50 private: 49 private:
51 explicit SpeechInputResultList(const SpeechInputResultArray& results); 50 explicit SpeechInputResultList(const SpeechInputResultArray& results);
52 51
53 SpeechInputResultArray m_results; 52 SpeechInputResultArray m_results;
54 }; 53 };
55 54
56 } // namespace WebCore 55 } // namespace WebCore
57 56
58 #endif // ENABLE(INPUT_SPEECH) 57 #endif // ENABLE(INPUT_SPEECH)
59 58
60 #endif // SpeechInputResultList_h 59 #endif // SpeechInputResultList_h
OLDNEW
« no previous file with comments | « Source/core/speech/SpeechInputResult.cpp ('k') | Source/core/speech/SpeechInputResultList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698