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

Side by Side Diff: chrome/browser/chromeos/status/input_method_menu.cc

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/status/input_method_menu.h" 5 #include "chrome/browser/chromeos/status/input_method_menu.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector>
8 9
9 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
11 #include "base/string_split.h" 12 #include "base/string_split.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "base/time.h" 14 #include "base/time.h"
14 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/chromeos/cros/cros_library.h" 17 #include "chrome/browser/chromeos/cros/cros_library.h"
17 #include "chrome/browser/chromeos/cros/keyboard_library.h" 18 #include "chrome/browser/chromeos/cros/keyboard_library.h"
18 #include "chrome/browser/chromeos/input_method/input_method_util.h" 19 #include "chrome/browser/chromeos/input_method/input_method_util.h"
19 #include "chrome/browser/chromeos/language_preferences.h" 20 #include "chrome/browser/chromeos/language_preferences.h"
20 #include "chrome/browser/metrics/user_metrics.h" 21 #include "chrome/browser/metrics/user_metrics.h"
21 #include "chrome/browser/prefs/pref_service.h" 22 #include "chrome/browser/prefs/pref_service.h"
22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/common/pref_names.h" 23 #include "chrome/common/pref_names.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
25 #include "grit/theme_resources.h" 25 #include "grit/theme_resources.h"
26 26
27 // The language menu consists of 3 parts (in this order): 27 // The language menu consists of 3 parts (in this order):
28 // 28 //
29 // (1) input method names. The size of the list is always >= 1. 29 // (1) input method names. The size of the list is always >= 1.
30 // (2) input method properties. This list might be empty. 30 // (2) input method properties. This list might be empty.
31 // (3) "Customize language and input..." button. 31 // (3) "Customize language and input..." button.
32 // 32 //
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 logged_in_ = true; 611 logged_in_ = true;
612 } 612 }
613 } 613 }
614 614
615 void InputMethodMenu::SetMinimumWidth(int width) { 615 void InputMethodMenu::SetMinimumWidth(int width) {
616 // On the OOBE network selection screen, fixed width menu would be preferable. 616 // On the OOBE network selection screen, fixed width menu would be preferable.
617 minimum_input_method_menu_width_ = width; 617 minimum_input_method_menu_width_ = width;
618 } 618 }
619 619
620 } // namespace chromeos 620 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698