Add onresize handler to GlobalEventHandlers

Refs: https://github.com/servo/servo/issues/7996
Rebased: https://github.com/servo/servo/pull/8006
This commit is contained in:
Jeff Harrison 2016-01-28 20:12:17 -05:00 committed by Greg Guthe
parent 5e1f0495a9
commit d4fe40089b
7 changed files with 64 additions and 15 deletions

View file

@ -333,6 +333,7 @@ macro_rules! error_event_handler(
macro_rules! global_event_handlers(
() => (
event_handler!(load, GetOnload, SetOnload);
event_handler!(resize, GetOnresize, SetOnresize);
global_event_handlers!(NoOnload);
);