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

Side by Side Diff: public/web/WebSpeechInputResult.h

Issue 170423004: Add Oilpan transition types for core/speech. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert SpeechInputResult::create() overload to take a const ref. Created 6 years, 10 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 | « Source/web/WebSpeechInputResult.cpp ('k') | no next file » | 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 { 49 {
50 assign(other); 50 assign(other);
51 return *this; 51 return *this;
52 } 52 }
53 53
54 BLINK_EXPORT void assign(const WebString& utterance, double confidence); 54 BLINK_EXPORT void assign(const WebString& utterance, double confidence);
55 BLINK_EXPORT void assign(const WebSpeechInputResult& other); 55 BLINK_EXPORT void assign(const WebSpeechInputResult& other);
56 BLINK_EXPORT void reset(); 56 BLINK_EXPORT void reset();
57 57
58 #if BLINK_IMPLEMENTATION 58 #if BLINK_IMPLEMENTATION
59 WebSpeechInputResult(const WTF::PassRefPtr<WebCore::SpeechInputResult>&); 59 explicit WebSpeechInputResult(const PassRefPtrWillBeRawPtr<WebCore::SpeechIn putResult>&);
60 operator WTF::PassRefPtr<WebCore::SpeechInputResult>() const; 60 operator PassRefPtrWillBeRawPtr<WebCore::SpeechInputResult>() const;
61 #endif 61 #endif
62 62
63 private: 63 private:
64 WebPrivatePtr<WebCore::SpeechInputResult> m_private; 64 WebPrivatePtr<WebCore::SpeechInputResult> m_private;
65 }; 65 };
66 66
67 typedef WebVector<WebSpeechInputResult> WebSpeechInputResultArray; 67 typedef WebVector<WebSpeechInputResult> WebSpeechInputResultArray;
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 #endif // WebSpeechInputResult_h 71 #endif // WebSpeechInputResult_h
OLDNEW
« no previous file with comments | « Source/web/WebSpeechInputResult.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698