[Geranium] Added resize handler interface.
Changed resize handling to use the new interface.