Title: [166267] trunk/Source/WebKit2
Revision
166267
Author
ander...@apple.com
Date
2014-03-25 16:37:01 -0700 (Tue, 25 Mar 2014)

Log Message

Change toolbarVisibility back to toolbarsVisibility
https://bugs.webkit.org/show_bug.cgi?id=130749

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKWindowFeatures.h:
* UIProcess/API/Cocoa/WKWindowFeatures.mm:
(-[WKWindowFeatures _initWithWindowFeatures:WebCore::]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (166266 => 166267)


--- trunk/Source/WebKit2/ChangeLog	2014-03-25 23:28:48 UTC (rev 166266)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-25 23:37:01 UTC (rev 166267)
@@ -1,5 +1,16 @@
 2014-03-25  Anders Carlsson  <ander...@apple.com>
 
+        Change toolbarVisibility back to toolbarsVisibility
+        https://bugs.webkit.org/show_bug.cgi?id=130749
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKWindowFeatures.h:
+        * UIProcess/API/Cocoa/WKWindowFeatures.mm:
+        (-[WKWindowFeatures _initWithWindowFeatures:WebCore::]):
+
+2014-03-25  Anders Carlsson  <ander...@apple.com>
+
         Pass the source frame to the CreateNewPage message
         https://bugs.webkit.org/show_bug.cgi?id=130752
 

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h (166266 => 166267)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h	2014-03-25 23:28:48 UTC (rev 166266)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h	2014-03-25 23:37:01 UTC (rev 166267)
@@ -33,7 +33,7 @@
 
 @property (nonatomic, readonly) NSNumber *menuBarVisibility;
 @property (nonatomic, readonly) NSNumber *statusBarVisibility;
-@property (nonatomic, readonly) NSNumber *toolbarVisibility;
+@property (nonatomic, readonly) NSNumber *toolbarsVisibility;
 
 @property (nonatomic, readonly) NSNumber *allowsResizing;
 

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.mm (166266 => 166267)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.mm	2014-03-25 23:28:48 UTC (rev 166266)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.mm	2014-03-25 23:37:01 UTC (rev 166267)
@@ -52,7 +52,7 @@
     // FIXME: These should be set to nil if the features didn't exist in the string.
     _menuBarVisibility = @(windowFeatures.menuBarVisible);
     _statusBarVisibility = @(windowFeatures.statusBarVisible);
-    _toolbarVisibility = @(windowFeatures.toolBarVisible);
+    _toolbarsVisibility = @(windowFeatures.toolBarVisible || windowFeatures.locationBarVisible);
     _allowsResizing = @(windowFeatures.resizable);
 
     if (windowFeatures.xSet)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to