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

Side by Side Diff: chrome/browser/chromeos/accessibility_util.cc

Issue 8400077: chromeos: Rename functions to be PascalCase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chromeos/accessibility_util.h" 5 #include "chrome/browser/chromeos/accessibility_util.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" 10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 EnableAccessibility(accessibility_enabled, login_web_ui); 150 EnableAccessibility(accessibility_enabled, login_web_ui);
151 }; 151 };
152 152
153 void Speak(const char* speak_str, bool queue, bool interruptible) { 153 void Speak(const char* speak_str, bool queue, bool interruptible) {
154 if (queue || !interruptible) { 154 if (queue || !interruptible) {
155 std::string props = ""; 155 std::string props = "";
156 props.append("enqueue="); 156 props.append("enqueue=");
157 props.append(queue ? "1;" : "0;"); 157 props.append(queue ? "1;" : "0;");
158 props.append("interruptible="); 158 props.append("interruptible=");
159 props.append(interruptible ? "1;" : "0;"); 159 props.append(interruptible ? "1;" : "0;");
160 chromeos::DBusThreadManager::Get()->speech_synthesizer_client()-> 160 chromeos::DBusThreadManager::Get()->GetSpeechSynthesizerClient()->
161 SetSpeakProperties(props); 161 SetSpeakProperties(props);
162 } 162 }
163 chromeos::DBusThreadManager::Get()->speech_synthesizer_client()-> 163 chromeos::DBusThreadManager::Get()->GetSpeechSynthesizerClient()->
164 Speak(speak_str); 164 Speak(speak_str);
165 } 165 }
166 166
167 167
168 } // namespace accessibility 168 } // namespace accessibility
169 } // namespace chromeos 169 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698