OLD | NEW |
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/ui/webui/options2/chromeos/cros_language_options_handle
r.h" | 5 #include "chrome/browser/ui/webui/options/chromeos/cros_language_options_handler
.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
13 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
14 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 void CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback( | 237 void CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback( |
238 const ListValue* args) { | 238 const ListValue* args) { |
239 const std::string input_method_id = UTF16ToASCII(ExtractStringValue(args)); | 239 const std::string input_method_id = UTF16ToASCII(ExtractStringValue(args)); |
240 const std::string action = base::StringPrintf( | 240 const std::string action = base::StringPrintf( |
241 "InputMethodOptions_Open_%s", input_method_id.c_str()); | 241 "InputMethodOptions_Open_%s", input_method_id.c_str()); |
242 content::RecordComputedAction(action); | 242 content::RecordComputedAction(action); |
243 } | 243 } |
244 | 244 |
245 } // namespace options | 245 } // namespace options |
246 } // namespace chromeos | 246 } // namespace chromeos |
OLD | NEW |