Not everyone supports gay marriage and not all opinions are deserving of the same amount of respect. It's OK for companies like Google to have the courage to have an opinion.
I'd prefer mega corporations staying out of social issues. Produce social value by making great products, not political advocacy.
This is an issue of direct relevance to many of those that work at Google. I think it's fine for corporations to take a stand on social issues that directly affect their employees.