Changeset 155726 in webkit
- Timestamp:
- Sep 13, 2013, 2:38:55 PM (12 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r155683 r155726 1 2013-09-13 Dan Bernstein <mitz@apple.com> 2 3 [mac WK1] Introduce WebViewWillCloseNotification 4 https://bugs.webkit.org/show_bug.cgi?id=121321 5 6 Reviewed by Sam Weinig. 7 8 * WebKit.exp: Exported WebViewWillCloseNotification. 9 * WebView/WebView.mm: 10 (-[WebView _close]): Send WebViewWillCloseNotification before closing the WebView. 11 * WebView/WebViewPrivate.h: Declared WebViewWillCloseNotification. 12 1 13 2013-09-13 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebKit/mac/WebKit.exp
r142348 r155726 127 127 _WebViewProgressFinishedNotification 128 128 _WebViewProgressStartedNotification 129 _WebViewWillCloseNotification 129 130 __WebHTMLViewPrintingMaximumShrinkFactor 130 131 __WebHTMLViewPrintingMinimumShrinkFactor -
trunk/Source/WebKit/mac/WebView/WebView.mm
r155512 r155726 507 507 508 508 NSString *_WebViewDidStartAcceleratedCompositingNotification = @"_WebViewDidStartAcceleratedCompositing"; 509 NSString * const WebViewWillCloseNotification = @"WebViewWillCloseNotification"; 509 510 510 511 NSString *WebKitKerningAndLigaturesEnabledByDefaultDefaultsKey = @"WebKitKerningAndLigaturesEnabledByDefault"; … … 1084 1085 if (!_private || _private->closed) 1085 1086 return; 1087 1088 [[NSNotificationCenter defaultCenter] postNotificationName:WebViewWillCloseNotification object:self]; 1086 1089 1087 1090 _private->closed = YES; -
trunk/Source/WebKit/mac/WebView/WebViewPrivate.h
r153396 r155726 71 71 extern NSString *_WebViewDidStartAcceleratedCompositingNotification; 72 72 73 extern NSString * const WebViewWillCloseNotification; 74 73 75 #if ENABLE_DASHBOARD_SUPPORT 74 76 typedef enum {
Note:
See TracChangeset
for help on using the changeset viewer.