Changeset 126318 in webkit


Ignore:
Timestamp:
Aug 22, 2012 10:50:22 AM (12 years ago)
Author:
jer.noble@apple.com
Message:

Browser menu visible when calling webkitRequestFullscreen after user manually enters full screen mode
https://bugs.webkit.org/show_bug.cgi?id=93892

Reviewed by Eric Carlson.

Allow the full screen window to "Join All Spaces", so that once it's original full screen space is destroyed,
it can join the new one.

  • UIProcess/mac/WKFullScreenWindowController.mm:

(-[WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r126311 r126318  
     12012-08-22  Jer Noble  <jer.noble@apple.com>
     2
     3        Browser menu visible when calling webkitRequestFullscreen after user manually enters full screen mode
     4        https://bugs.webkit.org/show_bug.cgi?id=93892
     5
     6        Reviewed by Eric Carlson.
     7
     8        Allow the full screen window to "Join All Spaces", so that once it's original full screen space is destroyed,
     9        it can join the new one.
     10
     11        * UIProcess/mac/WKFullScreenWindowController.mm:
     12        (-[WKFullScreenWindowController _startEnterFullScreenAnimationWithDuration:]):
     13
    1142012-08-22  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm

    r125319 r126318  
    553553    WKWindowSetClipRect([self window], finalBounds);
    554554
    555     [[self window] makeKeyAndOrderFront:self];
     555    NSWindow* window = [self window];
     556    NSWindowCollectionBehavior behavior = [window collectionBehavior];
     557    [window setCollectionBehavior:(behavior | NSWindowCollectionBehaviorCanJoinAllSpaces)];
     558    [window makeKeyAndOrderFront:self];
     559    [window setCollectionBehavior:behavior];
     560
    556561
    557562    if (!_backgroundWindow)
Note: See TracChangeset for help on using the changeset viewer.