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

Side by Side Diff: chrome/browser/chromeos/login/keyboard_switch_menu.h

Issue 5990008: Remove wstring from l10n_util. Part 1.... (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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 const std::wstring& tooltip, 28 const std::wstring& tooltip,
29 size_t num_active_input_methods); 29 size_t num_active_input_methods);
30 virtual bool ShouldSupportConfigUI() { return false; } 30 virtual bool ShouldSupportConfigUI() { return false; }
31 virtual void OpenConfigUI() {} 31 virtual void OpenConfigUI() {}
32 32
33 // views::ViewMenuDelegate implementation which overrides the implementation 33 // views::ViewMenuDelegate implementation which overrides the implementation
34 // in InputMethodMenu. 34 // in InputMethodMenu.
35 virtual void RunMenu(views::View* source, const gfx::Point& pt); 35 virtual void RunMenu(views::View* source, const gfx::Point& pt);
36 36
37 // Returns current keyboard name to be placed on the keyboard menu-button. 37 // Returns current keyboard name to be placed on the keyboard menu-button.
38 std::wstring GetCurrentKeyboardName() const; 38 string16 GetCurrentKeyboardName() const;
39 39
40 private: 40 private:
41 DISALLOW_COPY_AND_ASSIGN(KeyboardSwitchMenu); 41 DISALLOW_COPY_AND_ASSIGN(KeyboardSwitchMenu);
42 }; 42 };
43 43
44 } // namespace chromeos 44 } // namespace chromeos
45 45
46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_ 46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698