Suppress -Wpartial-availability warnings that arise from NSWindowDelegate.
Some methods in the protocol NSWindowDelegate are only declared in an OSX 10.7+ SDK. There is no good way to suppress -Wpartial-availability warnings for protocols. In BrowserWindowController, redeclare the methods in the private header. For bridge_native_widget_unittest, use performSelector: to invoke the methods. BUG=471823 Review URL: https://codereview.chromium.org/1135333002 Cr-Commit-Position: refs/heads/master@{#330472}
Showing
Please register or sign in to comment