-
tapted authored
bridged_native_widget_unittest.mm currently fails to compile on 10.7+ SDKs because there is no such thing as NSWindowDidFailToEnterFullScreenNotification (whoops). The failures don't go through NSNotificationCenter, but to the NSWindowDelegate protocol directly. So, add a dummy protocol for 10.6 and, in the simulate fullscreen failure test, send windowDidFailTo{Enter,Exit}FullScreen to the window delegate directly. Call via `id` so the test compiles on 10.6 SDKs, but return early so the tests pass when actually running on 10.6. BUG=378134 TEST=By tracing the simulation test, and manually to generate an actual failure. Review URL: https://codereview.chromium.org/665823002 Cr-Commit-Position: refs/heads/master@{#300366}
4863f1de