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

Unified Diff: ui/views/controls/menu/menu.cc

Issue 10831234: Clean-up inline members of nested classes (ui/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/menu/menu.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu.cc
diff --git a/ui/views/controls/menu/menu.cc b/ui/views/controls/menu/menu.cc
index 9b9a09907976223dcd9146994b92923f28086ef1..597dba4419f2d3ca382f7552227f7302fac89efb 100644
--- a/ui/views/controls/menu/menu.cc
+++ b/ui/views/controls/menu/menu.cc
@@ -9,6 +9,50 @@
namespace views {
+bool Menu::Delegate::IsItemChecked(int id) const {
+ return false;
+}
+
+bool Menu::Delegate::IsItemDefault(int id) const {
+ return false;
+}
+
+string16 Menu::Delegate::GetLabel(int id) const {
+ return string16();
+}
+
+bool Menu::Delegate::GetAcceleratorInfo(int id, ui::Accelerator* accel) {
+ return false;
+}
+
+const gfx::ImageSkia& Menu::Delegate::GetIcon(int id) const {
+ return GetEmptyIcon();
+}
+
+int Menu::Delegate::GetItemCount() const {
+ return 0;
+}
+
+bool Menu::Delegate::IsItemSeparator(int id) const {
+ return false;
+}
+
+bool Menu::Delegate::HasIcon(int id) const {
+ return false;
+}
+
+bool Menu::Delegate::SupportsCommand(int id) const {
+ return true;
+}
+
+bool Menu::Delegate::IsCommandEnabled(int id) const {
+ return true;
+}
+
+bool Menu::Delegate::GetContextualLabel(int id, string16* out) const {
+ return false;
+}
+
bool Menu::Delegate::IsRightToLeftUILayout() const {
return base::i18n::IsRTL();
}
« no previous file with comments | « ui/views/controls/menu/menu.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698