| Index: Source/web/ExternalPopupMenu.h
|
| diff --git a/Source/web/ExternalPopupMenu.h b/Source/web/ExternalPopupMenu.h
|
| index 893cf0b6c5031ba200b075f3121a732c5d16b9ea..b629f4cd3f24bf4fb8323e23bc392ea9c0c37a0a 100644
|
| --- a/Source/web/ExternalPopupMenu.h
|
| +++ b/Source/web/ExternalPopupMenu.h
|
| @@ -57,6 +57,15 @@ public:
|
| ExternalPopupMenu(LocalFrame&, PopupMenuClient*, WebViewImpl&);
|
| virtual ~ExternalPopupMenu();
|
|
|
| +
|
| + // Fills |info| with the popup menu information contained in the
|
| + // PopupMenuClient associated with this ExternalPopupMenu.
|
| + // FIXME: public only for test access. Need to revert once gtest
|
| + // helpers from chromium are available for blink.
|
| + static void getPopupMenuInfo(WebPopupMenuInfo&, PopupMenuClient&);
|
| + static int toPopupMenuItemIndex(int index, PopupMenuClient&);
|
| + static int toExternalPopupMenuItemIndex(int index, PopupMenuClient&);
|
| +
|
| private:
|
| // PopupMenu methods:
|
| virtual void show(const FloatQuad& controlPosition, const IntSize&, int index) OVERRIDE;
|
| @@ -71,11 +80,6 @@ private:
|
| virtual void didCancel() OVERRIDE;
|
|
|
| void dispatchEvent(Timer<ExternalPopupMenu>*);
|
| - // Fills |info| with the popup menu information contained in the
|
| - // PopupMenuClient associated with this ExternalPopupMenu.
|
| - void getPopupMenuInfo(WebPopupMenuInfo* info);
|
| - int toPopupMenuItemIndex(int index);
|
| - int toExternalPopupMenuItemIndex(int index);
|
|
|
| PopupMenuClient* m_popupMenuClient;
|
| RefPtr<FrameView> m_frameView;
|
|
|