The right-wingers, and McCain, are probably also now slapping their foreheads in irritation, as they are the ones who repeatedly called for Obama to visit Iraq so he would view the "facts on the ground" and somehow be forced to change his position on withdrawal (and thus be accused of flip-flopping.) Yglesias summarizes how well that's gone for them:
...instead...Obama went to Iraq and Iraqi leaders said he'd been right all along! That's about as close to "game, set, match" as you get in terms of real world events influencing your political campaign.
Instead of being boxed into a corner, Obama now appears to be ahead of the curve. The NY Times summarizes the situation well here:
The central tenet of Mr. Obama’s foreign policy is suddenly aligned with what the Iraqis themselves now increasingly seem to want. Not only have the developments offered Mr. Obama a measure of credibility as a prospective world leader in a week when his every move is receiving intensive attention at home and abroad, but it has complicated Mr. McCain’s leading argument against him: that a withdrawal timeline would be tantamount to surrender and would leave Iraqis in dangerous straits.
Where does McCain go from here? As Marc Ambinder reports, here's one Republican strategist on this development: "We're fucked."