| Index: ui/native_theme/native_theme.h
|
| diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
|
| index 62774d8c27bcfa7dce66dc212b1647e982987f66..01bf3b40c006ff4f252846d45fb888b1207422f8 100644
|
| --- a/ui/native_theme/native_theme.h
|
| +++ b/ui/native_theme/native_theme.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/observer_list.h"
|
| #include "build/build_config.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| +#include "ui/base/models/menu_separator_types.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/native_theme/native_theme_export.h"
|
|
|
| @@ -54,8 +55,8 @@ class NATIVE_THEME_EXPORT NativeTheme {
|
| kMenuCheckBackground,
|
| kMenuPopupArrow,
|
| kMenuPopupGutter,
|
| - kMenuPopupSeparator,
|
| #endif
|
| + kMenuPopupSeparator,
|
| kMenuItemBackground,
|
| kProgressBar,
|
| kPushButton,
|
| @@ -143,6 +144,11 @@ class NATIVE_THEME_EXPORT NativeTheme {
|
| bool is_selected;
|
| };
|
|
|
| + struct MenuSeparatorExtraParams {
|
| + const gfx::Rect* paint_rect;
|
| + MenuSeparatorType type;
|
| + };
|
| +
|
| struct MenuItemExtraParams {
|
| bool is_selected;
|
| int corner_radius;
|
| @@ -226,6 +232,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
|
| MenuArrowExtraParams menu_arrow;
|
| MenuCheckExtraParams menu_check;
|
| MenuItemExtraParams menu_item;
|
| + MenuSeparatorExtraParams menu_separator;
|
| MenuListExtraParams menu_list;
|
| MenuBackgroundExtraParams menu_background;
|
| ProgressBarExtraParams progress_bar;
|
|
|