Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Issue 7599029: Grab bag of bugfixes for Lion fullscreen mode. (Closed)

Created:
9 years, 4 months ago by rohitrao (ping after 24h)
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Grab bag of bugfixes for Lion fullscreen mode. - 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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96056

Patch Set 1 #

Patch Set 2 : Add comment for InstantLoader. #

Total comments: 7

Patch Set 3 : Move code to the right method. #

Patch Set 4 : Mark's comments. #

Patch Set 5 : Remove unwanted code. #

Total comments: 1

Patch Set 6 : Remove unneeded include. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M chrome/browser/instant/instant_loader.cc View 1 1 chunk +4 lines, -1 line 2 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rohitrao (ping after 24h)
Sky for the InstantLoader changes. Let me know if the comment doesn't make sense to ...
9 years, 4 months ago (2011-08-09 16:30:39 UTC) #1
Avi (use Gerrit)
http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode848 chrome/browser/ui/cocoa/browser_window_controller_private.mm:848: [self layoutSubviews]; Your CL description says "Force a relayout ...
9 years, 4 months ago (2011-08-09 16:36:07 UTC) #2
Mark Mentovai
You’re right, the Esc is discussion-worthy. Let’s discuss. http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode281 chrome/browser/ui/cocoa/browser_window_controller.mm:281: collectionBehavior ...
9 years, 4 months ago (2011-08-09 16:41:15 UTC) #3
rohitrao (ping after 24h)
http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode281 chrome/browser/ui/cocoa/browser_window_controller.mm:281: collectionBehavior |= (browser_->type() == Browser::TYPE_TABBED ? On 2011/08/09 16:41:15, ...
9 years, 4 months ago (2011-08-09 16:46:23 UTC) #4
Mark Mentovai
http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm (right): http://codereview.chromium.org/7599029/diff/2001/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm#newcode403 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm:403: // mode, Esc should toggle out of fullscreen. Seems ...
9 years, 4 months ago (2011-08-09 16:48:52 UTC) #5
rohitrao (ping after 24h)
> Seems like if we’re going to make enough Esc keypresses from the TabContents > ...
9 years, 4 months ago (2011-08-09 16:57:00 UTC) #6
Mark Mentovai
LGTM http://codereview.chromium.org/7599029/diff/1007/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm File chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm (right): http://codereview.chromium.org/7599029/diff/1007/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm#newcode7 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm:7: #include "base/mac/mac_util.h" Unneeded.
9 years, 4 months ago (2011-08-09 18:44:37 UTC) #7
Ilya Sherman
On 2011/08/09 16:30:39, rohitrao wrote: > Ilya to double-check that setting |textChangedByKeyEvents_| to NO in ...
9 years, 4 months ago (2011-08-09 21:15:04 UTC) #8
sky
http://codereview.chromium.org/7599029/diff/8002/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (left): http://codereview.chromium.org/7599029/diff/8002/chrome/browser/instant/instant_loader.cc#oldcode897 chrome/browser/instant/instant_loader.cc:897: DCHECK_EQ(0, intersection.y()); What does y end up as in ...
9 years, 4 months ago (2011-08-17 15:43:38 UTC) #9
rohitrao (ping after 24h)
http://codereview.chromium.org/7599029/diff/8002/chrome/browser/instant/instant_loader.cc File chrome/browser/instant/instant_loader.cc (left): http://codereview.chromium.org/7599029/diff/8002/chrome/browser/instant/instant_loader.cc#oldcode897 chrome/browser/instant/instant_loader.cc:897: DCHECK_EQ(0, intersection.y()); On 2011/08/17 15:43:38, sky wrote: > What ...
9 years, 4 months ago (2011-08-17 16:02:25 UTC) #10
sky
9 years, 4 months ago (2011-08-17 17:13:03 UTC) #11
Screenshot clarified what is going on. LGTM

Powered by Google App Engine
This is Rietveld 408576698