• rohitrao@chromium.org's avatar
    Grab bag of bugfixes for Lion fullscreen mode. · 6c2999b3
    rohitrao@chromium.org authored
    - Removes a DCHECK() in the InstantLoader that fired incorrectly in presentation
      mode.  In presentation mode, the omnibox is entirely enclosed by the web
      contents, so one part of the DCHECK() was incorrect.
    
    - Mark popups and panels as auxiliary fullscreen windows.  This allows them to
      share a space with a fullscreen window, but not to become a fullscreen window.
    
    - Force a relayout in windowDidFailToExitFullScreen.  Despite the name of the
      delegate method, when a window fails to exit fullscreen mode, it actually does
      exit fullscreen mode.  Forcing a relayout gets the window to draw correctly in
      this "failure" case.
    
    - Fixes a DCHECK() when pressing escape in fullscreen mode.
    
    - Pressing escape when the omnibox is focused (in non-presentation fullscreen
      mode) will now drop the window out of fullscreen mode.
    
    BUG=74065
    TEST=None
    
    Review URL: http://codereview.chromium.org/7599029
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96056 0039d316-1c4b-4281-b951-d872f2087c98
    6c2999b3
browser_window_controller_private.mm 34.3 KB