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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 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 #include <vector>
9 9
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h"
12 #include "base/string_split.h" 11 #include "base/string_split.h"
13 #include "base/string_util.h" 12 #include "base/string_util.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
16 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/chromeos/cros/cros_library.h" 16 #include "chrome/browser/chromeos/cros/cros_library.h"
18 #include "chrome/browser/chromeos/cros/keyboard_library.h" 17 #include "chrome/browser/chromeos/cros/keyboard_library.h"
19 #include "chrome/browser/chromeos/input_method/input_method_util.h" 18 #include "chrome/browser/chromeos/input_method/input_method_util.h"
20 #include "chrome/browser/chromeos/language_preferences.h" 19 #include "chrome/browser/chromeos/language_preferences.h"
21 #include "chrome/browser/metrics/user_metrics.h" 20 #include "chrome/browser/metrics/user_metrics.h"
22 #include "chrome/browser/prefs/pref_service.h" 21 #include "chrome/browser/prefs/pref_service.h"
23 #include "chrome/common/notification_service.h" 22 #include "chrome/common/notification_service.h"
24 #include "chrome/common/pref_names.h" 23 #include "chrome/common/pref_names.h"
25 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
26 #include "grit/theme_resources.h" 25 #include "grit/theme_resources.h"
26 #include "ui/base/resource/resource_bundle.h"
27 27
28 // The language menu consists of 3 parts (in this order): 28 // The language menu consists of 3 parts (in this order):
29 // 29 //
30 // (1) input method names. The size of the list is always >= 1. 30 // (1) input method names. The size of the list is always >= 1.
31 // (2) input method properties. This list might be empty. 31 // (2) input method properties. This list might be empty.
32 // (3) "Customize language and input..." button. 32 // (3) "Customize language and input..." button.
33 // 33 //
34 // Example of the menu (Japanese): 34 // Example of the menu (Japanese):
35 // 35 //
36 // ============================== (border of the popup window) 36 // ============================== (border of the popup window)
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 CrosLibrary::Get()->GetInputMethodLibrary()->RemoveObserver(this); 610 CrosLibrary::Get()->GetInputMethodLibrary()->RemoveObserver(this);
611 } 611 }
612 } 612 }
613 613
614 void InputMethodMenu::SetMinimumWidth(int width) { 614 void InputMethodMenu::SetMinimumWidth(int width) {
615 // On the OOBE network selection screen, fixed width menu would be preferable. 615 // On the OOBE network selection screen, fixed width menu would be preferable.
616 minimum_input_method_menu_width_ = width; 616 minimum_input_method_menu_width_ = width;
617 } 617 }
618 618
619 } // namespace chromeos 619 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | chrome/browser/chromeos/status/input_method_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698