Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ui / views / controls / menu / menu_config.cc
index 089d666..9eaba83 100644 (file)
@@ -5,8 +5,6 @@
 #include "ui/views/controls/menu/menu_config.h"
 
 #include "build/build_config.h"
-#include "ui/base/layout.h"
-#include "ui/native_theme/native_theme.h"
 
 namespace views {
 
@@ -45,12 +43,6 @@ MenuConfig::MenuConfig(const ui::NativeTheme* theme)
       native_theme(theme),
       show_delay(400),
       corner_radius(0) {
-  // Use 40px tall menu items when running in touch optimized mode.
-  // For Windows use 40px tall menu items when running in touch optimized mode.
-  if (ui::GetDisplayLayout() == ui::LAYOUT_TOUCH) {
-    item_top_margin = item_no_icon_top_margin = 12;
-    item_bottom_margin = item_no_icon_bottom_margin = 13;
-  }
   Init(theme);
 }