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

Side by Side Diff: chrome/browser/chromeos/status/language_menu_button.h

Issue 2879002: Reapply r50859 with chromeos fixes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: add explicit menus:: to chromeos Created 10 years, 5 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
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_STATUS_LANGUAGE_MENU_BUTTON_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_LANGUAGE_MENU_BUTTON_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_LANGUAGE_MENU_BUTTON_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_LANGUAGE_MENU_BUTTON_H_
7 7
8 #include "app/menus/simple_menu_model.h" 8 #include "app/menus/simple_menu_model.h"
9 #include "chrome/browser/chromeos/cros/input_method_library.h" 9 #include "chrome/browser/chromeos/cros/input_method_library.h"
10 #include "chrome/browser/chromeos/status/status_area_button.h" 10 #include "chrome/browser/chromeos/status/status_area_button.h"
(...skipping 25 matching lines...) Expand all
36 virtual int GetItemCount() const; 36 virtual int GetItemCount() const;
37 virtual menus::MenuModel::ItemType GetTypeAt(int index) const; 37 virtual menus::MenuModel::ItemType GetTypeAt(int index) const;
38 virtual int GetCommandIdAt(int index) const; 38 virtual int GetCommandIdAt(int index) const;
39 virtual string16 GetLabelAt(int index) const; 39 virtual string16 GetLabelAt(int index) const;
40 virtual bool IsLabelDynamicAt(int index) const; 40 virtual bool IsLabelDynamicAt(int index) const;
41 virtual bool GetAcceleratorAt(int index, 41 virtual bool GetAcceleratorAt(int index,
42 menus::Accelerator* accelerator) const; 42 menus::Accelerator* accelerator) const;
43 virtual bool IsItemCheckedAt(int index) const; 43 virtual bool IsItemCheckedAt(int index) const;
44 virtual int GetGroupIdAt(int index) const; 44 virtual int GetGroupIdAt(int index) const;
45 virtual bool GetIconAt(int index, SkBitmap* icon) const; 45 virtual bool GetIconAt(int index, SkBitmap* icon) const;
46 virtual menus::ButtonMenuItemModel* GetButtonMenuItemAt(int index) const;
46 virtual bool IsEnabledAt(int index) const; 47 virtual bool IsEnabledAt(int index) const;
47 virtual menus::MenuModel* GetSubmenuModelAt(int index) const; 48 virtual menus::MenuModel* GetSubmenuModelAt(int index) const;
48 virtual void HighlightChangedTo(int index); 49 virtual void HighlightChangedTo(int index);
49 virtual void ActivatedAt(int index); 50 virtual void ActivatedAt(int index);
50 virtual void MenuWillShow(); 51 virtual void MenuWillShow();
51 52
52 // InputMethodLibrary::Observer implementation. 53 // InputMethodLibrary::Observer implementation.
53 virtual void InputMethodChanged(InputMethodLibrary* obj); 54 virtual void InputMethodChanged(InputMethodLibrary* obj);
54 virtual void ImePropertiesChanged(InputMethodLibrary* obj); 55 virtual void ImePropertiesChanged(InputMethodLibrary* obj);
55 virtual void ActiveInputMethodsChanged(InputMethodLibrary* obj); 56 virtual void ActiveInputMethodsChanged(InputMethodLibrary* obj);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 views::Menu2 language_menu_; 121 views::Menu2 language_menu_;
121 122
122 StatusAreaHost* host_; 123 StatusAreaHost* host_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(LanguageMenuButton); 125 DISALLOW_COPY_AND_ASSIGN(LanguageMenuButton);
125 }; 126 };
126 127
127 } // namespace chromeos 128 } // namespace chromeos
128 129
129 #endif // CHROME_BROWSER_CHROMEOS_STATUS_LANGUAGE_MENU_BUTTON_H_ 130 #endif // CHROME_BROWSER_CHROMEOS_STATUS_LANGUAGE_MENU_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/feedback_menu_button.h ('k') | chrome/browser/chromeos/status/language_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698