"I insist!" said Hermione aggressively, shaking the bag of pastilles in his face. Looking rather alarmed, the little wizard took one.
Harry Potter and the Deathly Hallows
I don't understand why 'in' should be used in that phrase, rather than 'in front of' or 'on'? What does it mean?