summaryrefslogtreecommitdiffstats
path: root/base/mac
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-05-18 20:44:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-19 03:44:41 +0000
commit905a291f9595753d0ed663761eff707d5579c48c (patch)
treed9a78490a2c553b697c2e5bdb36c73f16b26c608 /base/mac
parent521697f5d826185b5e7126466110e72f1da2a26f (diff)
downloadchromium_src-905a291f9595753d0ed663761eff707d5579c48c.zip
chromium_src-905a291f9595753d0ed663761eff707d5579c48c.tar.gz
chromium_src-905a291f9595753d0ed663761eff707d5579c48c.tar.bz2
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}
Diffstat (limited to 'base/mac')
-rw-r--r--base/mac/sdk_forward_declarations.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/base/mac/sdk_forward_declarations.h b/base/mac/sdk_forward_declarations.h
index d70a6aa..e45ab43 100644
--- a/base/mac/sdk_forward_declarations.h
+++ b/base/mac/sdk_forward_declarations.h
@@ -176,11 +176,6 @@ enum {
aborted:(BOOL)aborted;
@end
-@protocol NSWindowDelegateFullScreenAdditions
-- (void)windowDidFailToEnterFullScreen:(NSWindow*)window;
-- (void)windowDidFailToExitFullScreen:(NSWindow*)window;
-@end
-
enum {
CBPeripheralStateDisconnected = 0,
CBPeripheralStateConnecting,