Commit Graph

32 Commits

Author SHA1 Message Date
toasted-nutbread
29734ea6e9 isVisible => isVisibleSync 2019-12-16 19:54:41 -05:00
toasted-nutbread
7c68490d2e Add setParent to popup 2019-12-16 19:54:41 -05:00
toasted-nutbread
289a1849c4 Add _createPopupInternal to return both popup and new ID 2019-12-16 19:54:41 -05:00
toasted-nutbread
4ba93b0770 Add getContainerRect to popup 2019-12-16 19:54:41 -05:00
toasted-nutbread
44bde5c676 Reorganize popup-only public functions 2019-12-16 19:54:41 -05:00
toasted-nutbread
2c3a145866 Mark private members 2019-12-16 19:54:41 -05:00
toasted-nutbread
8a127e07f3 Mark private message handlers 2019-12-16 19:54:41 -05:00
toasted-nutbread
525a3a50d1 Mark private functions 2019-12-16 19:54:41 -05:00
toasted-nutbread
2c8c6866ef jsonRectToDOMRect => convertJsonRectToDOMRect
Also make static
2019-12-16 19:54:41 -05:00
toasted-nutbread
3f8cc83c25 Group nested message handlers together 2019-12-16 19:54:41 -05:00
toasted-nutbread
88ac8f4ead Update PopupProxyHost.popups to use a Map 2019-12-16 19:54:41 -05:00
toasted-nutbread
573f83b65a Update frontend API receiver handlers 2019-12-13 23:11:56 -05:00
toasted-nutbread
0aed27b66d Replace hasOwnProperty with simplified hasOwn function 2019-11-26 22:06:27 -05:00
toasted-nutbread
8f918c63dc Reposition popup on window resize rather than clear the search
Fixes #107
2019-10-17 18:40:43 -04:00
toasted-nutbread
598cd32946 Update *show* APIs to unified showContent and setContent 2019-10-17 18:40:43 -04:00
toasted-nutbread
16521fec93 Assign first popup on the search page as a depth of 1 2019-10-15 20:23:25 -04:00
toasted-nutbread
883226b045 Update how custom CSS is applied 2019-10-12 19:00:24 -04:00
toasted-nutbread
6da7683552 Don't pass options around for calls to termsShow, kanjiShow, etc. 2019-10-12 15:31:29 -04:00
toasted-nutbread
8a1637f6b3 Remove .show popup proxy API since it's not used 2019-10-12 15:31:29 -04:00
toasted-nutbread
194615ef21 Make popups store options 2019-10-12 15:31:29 -04:00
toasted-nutbread
88de427184 Throw Error instead of string 2019-10-08 21:32:08 -04:00
toasted-nutbread
2255fadf52 Rename Popup.setVisible to setVisibleOverride 2019-10-05 21:40:10 -04:00
toasted-nutbread
25a4dafd73 Fix tab focus being changed due to settings changes 2019-09-29 16:48:28 -04:00
Alex Yatskov
e4fa658295
Merge pull request #212 from toasted-nutbread/frontend-cleanup
Frontend cleanup
2019-09-15 11:33:48 -07:00
toasted-nutbread
6d3037f3d6 Remove destructuring from searchAt, containsPoint, docRangeFromPoint 2019-09-14 14:27:25 -04:00
toasted-nutbread
bab6a13bfb Fix nested popups being shown if parent is hidden 2019-09-13 18:12:51 -04:00
toasted-nutbread
76aa30ceba Add writingMode to PopupProxy* termsShow and kanjiShow 2019-09-11 21:29:08 -04:00
siikamiika
2df9a7f977 change Popup.children to Popup.child 2019-09-02 19:33:52 -04:00
siikamiika
87ff5cb19b make containsPoint async everywhere 2019-09-02 19:33:52 -04:00
toasted-nutbread
53aad0bef6 Fix messaging issues when iframes are present in the document 2019-09-02 19:33:28 -04:00
toasted-nutbread
1a9348ec27 Add option for maximum nested popup depth 2019-09-02 19:32:08 -04:00
toasted-nutbread
5c4614f585 Add support for showing recursive popups 2019-09-02 19:31:42 -04:00