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

Side by Side Diff: chrome/browser/speech/extension_api/tts_engine_extension_api.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h" 5 #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/extensions/extension_host.h" 11 #include "chrome/browser/extensions/extension_host.h"
12 #include "chrome/browser/extensions/extension_service.h" 12 #include "chrome/browser/extensions/extension_service.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/speech/extension_api/tts_extension_api.h" 14 #include "chrome/browser/speech/extension_api/tts_extension_api.h"
15 #include "chrome/browser/speech/extension_api/tts_extension_api_constants.h" 15 #include "chrome/browser/speech/extension_api/tts_extension_api_constants.h"
16 #include "chrome/browser/speech/tts_controller.h" 16 #include "chrome/browser/speech/tts_controller.h"
17 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" 17 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h"
18 #include "chrome/common/extensions/extension_messages.h"
19 #include "content/public/browser/render_process_host.h" 18 #include "content/public/browser/render_process_host.h"
20 #include "content/public/browser/render_view_host.h" 19 #include "content/public/browser/render_view_host.h"
21 #include "content/public/common/console_message_level.h" 20 #include "content/public/common/console_message_level.h"
22 #include "extensions/browser/event_router.h" 21 #include "extensions/browser/event_router.h"
23 #include "extensions/browser/extension_system.h" 22 #include "extensions/browser/extension_system.h"
24 #include "extensions/browser/process_manager.h" 23 #include "extensions/browser/process_manager.h"
25 #include "extensions/common/extension.h" 24 #include "extensions/common/extension.h"
25 #include "extensions/common/extension_messages.h"
26 #include "extensions/common/extension_set.h" 26 #include "extensions/common/extension_set.h"
27 #include "net/base/network_change_notifier.h" 27 #include "net/base/network_change_notifier.h"
28 28
29 using extensions::EventRouter; 29 using extensions::EventRouter;
30 using extensions::Extension; 30 using extensions::Extension;
31 using extensions::ExtensionSystem; 31 using extensions::ExtensionSystem;
32 32
33 namespace constants = tts_extension_api_constants; 33 namespace constants = tts_extension_api_constants;
34 34
35 namespace tts_engine_events { 35 namespace tts_engine_events {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 utterance_id, TTS_EVENT_PAUSE, char_index, std::string()); 269 utterance_id, TTS_EVENT_PAUSE, char_index, std::string());
270 } else if (event_type == constants::kEventTypeResume) { 270 } else if (event_type == constants::kEventTypeResume) {
271 controller->OnTtsEvent( 271 controller->OnTtsEvent(
272 utterance_id, TTS_EVENT_RESUME, char_index, std::string()); 272 utterance_id, TTS_EVENT_RESUME, char_index, std::string());
273 } else { 273 } else {
274 EXTENSION_FUNCTION_VALIDATE(false); 274 EXTENSION_FUNCTION_VALIDATE(false);
275 } 275 }
276 276
277 return true; 277 return true;
278 } 278 }
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_tab_helper.cc ('k') | chrome/browser/themes/theme_syncable_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698