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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc

Issue 14427002: Move InputMethodManager from c/b/chromeos to chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing old header Created 7 years, 8 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/ui/webui/chromeos/login/network_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/network_screen_handler.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/chromeos/cros/cros_library.h" 11 #include "chrome/browser/chromeos/cros/cros_library.h"
12 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" 12 #include "chrome/browser/chromeos/input_method/input_method_configuration.h"
13 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
14 #include "chrome/browser/chromeos/input_method/input_method_util.h" 13 #include "chrome/browser/chromeos/input_method/input_method_util.h"
15 #include "chrome/browser/chromeos/login/language_switch_menu.h" 14 #include "chrome/browser/chromeos/login/language_switch_menu.h"
16 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 15 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
17 #include "chrome/browser/ui/webui/options/chromeos/cros_language_options_handler .h" 16 #include "chrome/browser/ui/webui/options/chromeos/cros_language_options_handler .h"
17 #include "chromeos/ime/input_method_manager.h"
18 #include "grit/chromium_strings.h" 18 #include "grit/chromium_strings.h"
19 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
20 #include "ui/gfx/rect.h" 20 #include "ui/gfx/rect.h"
21 #include "ui/views/layout/fill_layout.h" 21 #include "ui/views/layout/fill_layout.h"
22 #include "ui/views/widget/widget.h" 22 #include "ui/views/widget/widget.h"
23 23
24 namespace { 24 namespace {
25 25
26 // JS API callbacks names. 26 // JS API callbacks names.
27 const char kJsApiNetworkOnExit[] = "networkOnExit"; 27 const char kJsApiNetworkOnExit[] = "networkOnExit";
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 "title", 207 "title",
208 util->GetInputMethodLongName(input_methods->at(i))); 208 util->GetInputMethodLongName(input_methods->at(i)));
209 input_method->SetBoolean("selected", 209 input_method->SetBoolean("selected",
210 ime_id == current_input_method_id); 210 ime_id == current_input_method_id);
211 input_methods_list->Append(input_method); 211 input_methods_list->Append(input_method);
212 } 212 }
213 return input_methods_list; 213 return input_methods_list;
214 } 214 }
215 215
216 } // namespace chromeos 216 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698