#include "chrome/browser/printing/printing_message_filter.h"
#include "chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h"
#include "chrome/browser/renderer_host/pepper/widevine_cdm_message_filter.h"
-#include "chrome/browser/speech/tts_message_filter.h"
#include "content/common/resource_request_body_impl.h"
#include "content/public/browser/browser_ppapi_host.h"
#include "content/public/browser/client_certificate_delegate.h"
#include "ui/base/l10n/l10n_util.h"
#include "v8/include/v8.h"
+#if defined(OS_TIZEN)
+#include "content/browser/speech/tts_message_filter_efl.h"
+#else
+#include "chrome/browser/speech/tts_message_filter.h"
+#endif
+
namespace atom {
namespace {
content::RenderProcessHost* host) {
int process_id = host->GetID();
host->AddFilter(new printing::PrintingMessageFilter(process_id));
+#if defined(OS_TIZEN)
+ host->AddFilter(new content::TtsMessageFilterEfl());
+#else
host->AddFilter(new TtsMessageFilter(process_id, host->GetBrowserContext()));
+#endif
host->AddFilter(
new WidevineCdmMessageFilter(process_id, host->GetBrowserContext()));
'chromium_src/chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.h',
'chromium_src/chrome/browser/renderer_host/pepper/widevine_cdm_message_filter.cc',
'chromium_src/chrome/browser/renderer_host/pepper/widevine_cdm_message_filter.h',
- 'chromium_src/chrome/browser/speech/tts_controller.h',
- 'chromium_src/chrome/browser/speech/tts_controller_impl.cc',
- 'chromium_src/chrome/browser/speech/tts_controller_impl.h',
- 'chromium_src/chrome/browser/speech/tts_linux.cc',
- 'chromium_src/chrome/browser/speech/tts_mac.mm',
- 'chromium_src/chrome/browser/speech/tts_message_filter.cc',
- 'chromium_src/chrome/browser/speech/tts_message_filter.h',
- 'chromium_src/chrome/browser/speech/tts_platform.cc',
- 'chromium_src/chrome/browser/speech/tts_platform.h',
- 'chromium_src/chrome/browser/speech/tts_win.cc',
'chromium_src/chrome/browser/ssl/security_state_tab_helper.cc',
'chromium_src/chrome/browser/ssl/security_state_tab_helper.h',
'chromium_src/chrome/browser/ui/browser_dialogs.h',
'chromium_src/chrome/common/pref_names.h',
'chromium_src/chrome/common/print_messages.cc',
'chromium_src/chrome/common/print_messages.h',
- 'chromium_src/chrome/common/tts_messages.h',
- 'chromium_src/chrome/common/tts_utterance_request.cc',
- 'chromium_src/chrome/common/tts_utterance_request.h',
'chromium_src/chrome/common/widevine_cdm_messages.h',
'chromium_src/chrome/common/widevine_cdm_constants.cc',
'chromium_src/chrome/common/widevine_cdm_constants.h',
'chromium_src/chrome/renderer/printing/print_web_view_helper.h',
'chromium_src/chrome/renderer/spellchecker/spellcheck_worditerator.cc',
'chromium_src/chrome/renderer/spellchecker/spellcheck_worditerator.h',
- 'chromium_src/chrome/renderer/tts_dispatcher.cc',
- 'chromium_src/chrome/renderer/tts_dispatcher.h',
'chromium_src/chrome/utility/utility_message_handler.h',
'chromium_src/components/pdf/common/pdf_messages.h',
'chromium_src/components/pdf/renderer/pepper_pdf_host.cc',
'vi', 'zh-CN', 'zh-TW',
],
'conditions': [
+ ['is_tizen==0', {
+ 'app_sources': [
+ 'chromium_src/chrome/browser/speech/tts_controller.h',
+ 'chromium_src/chrome/browser/speech/tts_controller_impl.cc',
+ 'chromium_src/chrome/browser/speech/tts_controller_impl.h',
+ 'chromium_src/chrome/browser/speech/tts_linux.cc',
+ 'chromium_src/chrome/browser/speech/tts_mac.mm',
+ 'chromium_src/chrome/browser/speech/tts_message_filter.cc',
+ 'chromium_src/chrome/browser/speech/tts_message_filter.h',
+ 'chromium_src/chrome/browser/speech/tts_platform.cc',
+ 'chromium_src/chrome/browser/speech/tts_platform.h',
+ 'chromium_src/chrome/browser/speech/tts_win.cc',
+ 'chromium_src/chrome/common/tts_messages.h',
+ 'chromium_src/chrome/common/tts_utterance_request.cc',
+ 'chromium_src/chrome/common/tts_utterance_request.h',
+ 'chromium_src/chrome/renderer/tts_dispatcher.cc',
+ 'chromium_src/chrome/renderer/tts_dispatcher.h',
+ ],
+ }],
+ ],
+ 'conditions': [
['OS=="win"', {
'app_sources': [
'atom/browser/resources/win/resource.h',