Remove unused applicationWillTerminate methods from MiniBrowser
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jan 2017 21:11:02 +0000 (21:11 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jan 2017 21:11:02 +0000 (21:11 +0000)
https://bugs.webkit.org/show_bug.cgi?id=166803

Reviewed by Andy Estes.

* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate applicationWillTerminate:]): Deleted.
* MiniBrowser/mac/BrowserWindowController.h:
* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController applicationTerminating]): Deleted.
* MiniBrowser/mac/WK1BrowserWindowController.m:
(-[WK1BrowserWindowController applicationTerminating]): Deleted.
* MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController applicationTerminating]): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/MiniBrowser/mac/AppDelegate.m
Tools/MiniBrowser/mac/BrowserWindowController.h
Tools/MiniBrowser/mac/BrowserWindowController.m
Tools/MiniBrowser/mac/WK1BrowserWindowController.m
Tools/MiniBrowser/mac/WK2BrowserWindowController.m

index aef3acf..624dd0e 100644 (file)
@@ -1,5 +1,22 @@
 2017-01-07  Tim Horton  <timothy_horton@apple.com>
 
+        Remove unused applicationWillTerminate methods from MiniBrowser
+        https://bugs.webkit.org/show_bug.cgi?id=166803
+
+        Reviewed by Andy Estes.
+
+        * MiniBrowser/mac/AppDelegate.m:
+        (-[BrowserAppDelegate applicationWillTerminate:]): Deleted.
+        * MiniBrowser/mac/BrowserWindowController.h:
+        * MiniBrowser/mac/BrowserWindowController.m:
+        (-[BrowserWindowController applicationTerminating]): Deleted.
+        * MiniBrowser/mac/WK1BrowserWindowController.m:
+        (-[WK1BrowserWindowController applicationTerminating]): Deleted.
+        * MiniBrowser/mac/WK2BrowserWindowController.m:
+        (-[WK2BrowserWindowController applicationTerminating]): Deleted.
+
+2017-01-07  Tim Horton  <timothy_horton@apple.com>
+
         Add the ability to create empty contentEditable windows in MiniBrowser
         https://bugs.webkit.org/show_bug.cgi?id=166801
 
index 846a76f..b57971e 100644 (file)
@@ -205,12 +205,6 @@ WKPreferences *defaultPreferences()
     [self newWindow:self];
 }
 
-- (void)applicationWillTerminate:(NSNotification *)notification
-{
-    for (BrowserWindowController* controller in _browserWindowControllers)
-        [controller applicationTerminating];
-}
-
 - (BrowserWindowController *)frontmostBrowserWindowController
 {
     for (NSWindow* window in [NSApp windows]) {
index b7aa5cf..5d70ba2 100644 (file)
@@ -43,8 +43,6 @@
 - (void)loadHTMLString:(NSString *)HTMLString;
 - (NSString *)addProtocolIfNecessary:(NSString *)address;
 
-- (void)applicationTerminating;
-
 - (IBAction)openLocation:(id)sender;
 
 - (IBAction)fetch:(id)sender;
index d96eb51..98fe957 100644 (file)
 {
 }
 
-- (void)applicationTerminating
-{
-}
-
 - (NSString *)addProtocolIfNecessary:(NSString *)address
 {
     if ([address rangeOfString:@"://"].length > 0)
index f26b419..18bdab8 100644 (file)
@@ -184,10 +184,6 @@ static BOOL areEssentiallyEqual(double a, double b)
     [self autorelease];
 }
 
-- (void)applicationTerminating
-{
-}
-
 - (double)currentZoomFactor
 {
     return 1;
index 8ede255..c4578f5 100644 (file)
@@ -319,10 +319,6 @@ static BOOL areEssentiallyEqual(double a, double b)
     [self autorelease];
 }
 
-- (void)applicationTerminating
-{
-}
-
 #define DefaultMinimumZoomFactor (.5)
 #define DefaultMaximumZoomFactor (3.0)
 #define DefaultZoomFactorRatio (1.2)