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

Side by Side Diff: Source/platform/exported/WebSpeechSynthesisVoice.cpp

Issue 339823003: Oilpan: move platform speech objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Trace SpeechRecognition's controller reference. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService) 65 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService)
66 { 66 {
67 m_private->setLocalService(isLocalService); 67 m_private->setLocalService(isLocalService);
68 } 68 }
69 69
70 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault) 70 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault)
71 { 71 {
72 m_private->setIsDefault(isDefault); 72 m_private->setIsDefault(isDefault);
73 } 73 }
74 74
75 WebSpeechSynthesisVoice::operator PassRefPtr<WebCore::PlatformSpeechSynthesisVoi ce>() const 75 WebSpeechSynthesisVoice::operator WebCore::PlatformSpeechSynthesisVoice*() const
76 { 76 {
77 return m_private.get(); 77 return m_private.get();
78 } 78 }
79 79
80 } // namespace blink 80 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebSpeechSynthesisUtterance.cpp ('k') | Source/platform/exported/WebSpeechSynthesizerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698