| Index: content/child/assert_matching_enums.cc
|
| diff --git a/content/child/assert_matching_enums.cc b/content/child/assert_matching_enums.cc
|
| index 71f371dc803a68324db72e24859d17848b3b531b..1c784bcf9581cd3e056fb4a217f95dc56ff5090c 100644
|
| --- a/content/child/assert_matching_enums.cc
|
| +++ b/content/child/assert_matching_enums.cc
|
| @@ -12,8 +12,10 @@
|
| #include "third_party/WebKit/public/platform/WebTextInputType.h"
|
| #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
|
| #include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h"
|
| +#include "third_party/WebKit/public/web/WebMenuSourceType.h"
|
| #include "ui/base/ime/text_input_mode.h"
|
| #include "ui/base/ime/text_input_type.h"
|
| +#include "ui/base/ui_base_types.h"
|
|
|
| namespace content {
|
|
|
| @@ -88,4 +90,15 @@ STATIC_ASSERT_ENUM(blink::kWebTextInputTypeContentEditable,
|
| STATIC_ASSERT_ENUM(blink::kWebTextInputTypeDateTimeField,
|
| ui::TEXT_INPUT_TYPE_DATE_TIME_FIELD);
|
|
|
| +// WebMenuSourceType
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceNone, ui::MENU_SOURCE_NONE);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceMouse, ui::MENU_SOURCE_MOUSE);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceKeyboard, ui::MENU_SOURCE_KEYBOARD);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceTouch, ui::MENU_SOURCE_TOUCH);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceTouchEditMenu,
|
| + ui::MENU_SOURCE_TOUCH_EDIT_MENU);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceLongPress, ui::MENU_SOURCE_LONG_PRESS);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceLongTap, ui::MENU_SOURCE_LONG_TAP);
|
| +STATIC_ASSERT_ENUM(blink::kMenuSourceTouchHandle, ui::MENU_SOURCE_TOUCH_HANDLE);
|
| +
|
| } // namespace content
|
|
|