| Index: third_party/WebKit/Source/platform/PopupMenu.h
|
| diff --git a/third_party/WebKit/Source/platform/PopupMenu.h b/third_party/WebKit/Source/platform/PopupMenu.h
|
| index 98a4757de10b137e5091ce52439be206edbba799..41c8f4d003c57089e82b8ff07d63453cbe4e78f7 100644
|
| --- a/third_party/WebKit/Source/platform/PopupMenu.h
|
| +++ b/third_party/WebKit/Source/platform/PopupMenu.h
|
| @@ -33,7 +33,12 @@ public:
|
| DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| virtual void show() = 0;
|
| virtual void hide() = 0;
|
| - virtual void updateFromElement() = 0;
|
| + enum UpdateReason {
|
| + BySelectionChange,
|
| + ByStyleChange,
|
| + ByDOMChange,
|
| + };
|
| + virtual void updateFromElement(UpdateReason) = 0;
|
| virtual void disconnectClient() = 0;
|
| };
|
|
|
|
|