| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/controls/menu/menu_config.h" | 5 #include "ui/views/controls/menu/menu_config.h" | 
| 6 #include "ui/views/controls/menu/menu_delegate.h" | 6 #include "ui/views/controls/menu/menu_delegate.h" | 
| 7 | 7 | 
| 8 namespace views { | 8 namespace views { | 
| 9 | 9 | 
| 10 MenuDelegate::~MenuDelegate() {} | 10 MenuDelegate::~MenuDelegate() {} | 
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 120   // big fonts. | 120   // big fonts. | 
| 121   return 800; | 121   return 800; | 
| 122 } | 122 } | 
| 123 | 123 | 
| 124 void MenuDelegate::WillShowMenu(MenuItemView* menu) { | 124 void MenuDelegate::WillShowMenu(MenuItemView* menu) { | 
| 125 } | 125 } | 
| 126 | 126 | 
| 127 void MenuDelegate::WillHideMenu(MenuItemView* menu) { | 127 void MenuDelegate::WillHideMenu(MenuItemView* menu) { | 
| 128 } | 128 } | 
| 129 | 129 | 
|  | 130 Border* MenuDelegate::GetMenuBorder() { | 
|  | 131   return Border::CreateEmptyBorder( | 
|  | 132     MenuConfig::instance().submenu_vertical_margin_size, | 
|  | 133     MenuConfig::instance().submenu_horizontal_margin_size, | 
|  | 134     MenuConfig::instance().submenu_vertical_margin_size, | 
|  | 135     MenuConfig::instance().submenu_horizontal_margin_size); | 
|  | 136 } | 
|  | 137 | 
|  | 138 Background* MenuDelegate::GetMenuBackground() { | 
|  | 139   return NULL; | 
|  | 140 } | 
|  | 141 | 
| 130 }  // namespace views | 142 }  // namespace views | 
| OLD | NEW | 
|---|