Either this year or the last, perhaps during Occlumency practice, Harry would find out what Hermione really saw in the Mirror of Erised. It showed her a scene where he came to her for help with something and treated her with complete trust, honest gratitude, and casual intimacy. While that intimacy could be read as romantic, what came across more strongly was that if they were more touchy with each other, it would make her feel more secure. Harry does start treating her more this way, and it really does work.