This figure of speech does not have anything to do with eating. It actually refers to the process of making a decision. After being given enough information someone might ask a person for a decision about what to do. But, if the person wants time to think about it, they might say ‘I’m going to (or, let me) chew on it for awhile, first’.