The issue in IT [1] is treating women as human beings rather than sexual objects. Too many women in technology have stories of men acting inappropriately, creepy, or occasionally intimidating. This can range from constantly commenting on their clothes or appearance, to making jokes or conversation about sex, to showing inappropriate images or video, to repeated asking out, to inappropriate touching (backrubs, butt pats, "accidentally" brushing up against them).
[1] IT is obviously not the only industry with this problem.
Women talk about sex in the workplace all the time. I've worked at a few all-women companies. If I used your list as examples of sexual harassment, they would have been sued out of existence years ago.
Harassment to me is singling someone out and making them feel uncomfortable. Talking privately with my co-workers about something sexual while may be inappropriate in the workplace, should not be considered "sexual harassment".
I also have to laugh because if you asked a woman out and they are attracted to you, it suddenly becomes a date rather than sexual harassment...which in my mind invalidates it entirely. If someone continues to ask a girl out and they are not interested, it's harassment. Not sexual harassment.
[1] IT is obviously not the only industry with this problem.