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

Issue 126294: Mac fullscreen mode (with pkasting). (Closed)

Created:
11 years, 6 months ago by John Grabowski
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google), Avi (use Gerrit)
Visibility:
Public.

Description

Mac fullscreen mode (with pkasting). TEST=Launch Chrome. Create a 2nd tab. Close bookmark bar. Cmd-F11 to enter fullscreen; make sure content is centered and both bookmark bar and toolbar are gone. Make sure menubar gone. Cmd-Opt-arrows to switch tabs; make sure still OK. Cmd-F11 to go back; make sure things look normal. Open bookmark bar. Cmd-F11; make sure gone. Cmd-F11 again; make sure it comes back. Confirm View-->Fullscreen menu item works. While in fullscreen, Cmd-T to create new tab and click on a fav tile. Make sure page loads. While in fullscreen, try window hotkeys (Cmd-N and Cmd-W) to make sure they work. Cmd-` to switch windows; switch back, then Cmd-F11 to undo fullscreen. Move the mouse to to the top of the screen; make sure menubar appears. Move the mouse down; make sure menubar goes away. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19559

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 10

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 5

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -59 lines) Patch
M chrome/app/nibs/en.lproj/MainMenu.xib View 1 2 3 4 5 6 7 8 9 7 chunks +41 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.h View 3 4 5 6 7 8 9 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 3 4 5 6 7 8 9 7 chunks +50 lines, -21 lines 0 comments Download
M chrome/browser/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
MM chrome/browser/cocoa/browser_window_cocoa_unittest.mm View 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.h View 1 2 3 4 5 6 7 8 9 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 5 chunks +95 lines, -13 lines 0 comments Download
MM chrome/browser/cocoa/browser_window_controller_unittest.mm View 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/fullscreen_window.h View 7 8 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/fullscreen_window.mm View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/fullscreen_window_unittest.mm View 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/tab_contents_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/tab_contents_controller.mm View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/chrome.gyp View 7 8 9 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
John Grabowski
+cc avi,jeremy for Cocoa key advice. I know this is a post-beta feature but I ...
11 years, 6 months ago (2009-06-17 21:55:13 UTC) #1
jeremy
lgtm http://codereview.chromium.org/126294/diff/1/7 File chrome/browser/cocoa/tab_contents_controller.mm (right): http://codereview.chromium.org/126294/diff/1/7#newcode42 Line 42: // TODO(jrg): info bubble mentioning hotkey to ...
11 years, 6 months ago (2009-06-17 22:00:04 UTC) #2
Peter Kasting
LGTM other than comment below http://codereview.chromium.org/126294/diff/1011/18 File chrome/browser/cocoa/browser_window_controller.mm (right): http://codereview.chromium.org/126294/diff/1011/18#newcode562 Line 562: [tabStripController_ setFullscreen:fullscreen]; Is ...
11 years, 6 months ago (2009-06-17 22:19:11 UTC) #3
John Grabowski
http://codereview.chromium.org/126294/diff/1/7 File chrome/browser/cocoa/tab_contents_controller.mm (right): http://codereview.chromium.org/126294/diff/1/7#newcode42 Line 42: // TODO(jrg): info bubble mentioning hotkey to get ...
11 years, 6 months ago (2009-06-18 02:42:34 UTC) #4
Peter Kasting
> On 2009/06/17 22:19:11, pkasting wrote: > > Is there a way of just getting ...
11 years, 6 months ago (2009-06-18 02:59:43 UTC) #5
Peter Kasting
Something else here -- when in fullscreen mode, you still want to respond to various ...
11 years, 6 months ago (2009-06-18 05:32:23 UTC) #6
pink (ping after 24hrs)
I too wonder about things like the download shelf and the find bar, which should ...
11 years, 6 months ago (2009-06-18 17:35:49 UTC) #7
Peter Kasting
On 2009/06/18 17:35:49, pink wrote: > Do menu commands still work? Do we have > ...
11 years, 6 months ago (2009-06-18 17:40:37 UTC) #8
John Grabowski
On 2009/06/18 17:40:37, pkasting wrote: > On 2009/06/18 17:35:49, pink wrote: > > Do menu ...
11 years, 6 months ago (2009-06-23 23:45:27 UTC) #9
Peter Kasting
On 2009/06/23 23:45:27, John Grabowski wrote: > I'm also disabling window commands (NEW_WINDOW / > ...
11 years, 6 months ago (2009-06-24 06:40:13 UTC) #10
pink (ping after 24hrs)
I like this approach much better than the last version. http://codereview.chromium.org/126294/diff/1011/14 File chrome/browser/cocoa/browser_window_cocoa.mm (right): http://codereview.chromium.org/126294/diff/1011/14#newcode129 ...
11 years, 6 months ago (2009-06-24 17:47:46 UTC) #11
John Grabowski
Wow... a quick little CL to help pkasting out with some Mac stuff has gotten ...
11 years, 6 months ago (2009-06-25 18:38:46 UTC) #12
pink (ping after 24hrs)
LGTM http://codereview.chromium.org/126294/diff/5070/5078 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/126294/diff/5070/5078#newcode80 Line 80: // Turn on or off the bookmark ...
11 years, 5 months ago (2009-06-29 18:19:05 UTC) #13
John Grabowski
11 years, 5 months ago (2009-06-29 19:45:20 UTC) #14
http://codereview.chromium.org/126294/diff/5070/5073
File chrome/browser/cocoa/browser_window_controller.mm (right):

http://codereview.chromium.org/126294/diff/5070/5073#newcode596
Line 596: // bubble describing how to exit fullscreen mode.
On 2009/06/29 18:19:09, pink wrote:
> how would the user know where to look in the menubar to find how to get out of
> fullscreen mode? I think we probably still need a bubble.

I'd think the View menu would be clear.  Note QTPlayer does not have an info
bubble.  But point taken; I've changed the comment to a question and will ask UI
dudes.

http://codereview.chromium.org/126294/diff/5070/5073#newcode618
Line 618: [content removeFromSuperview];
On 2009/06/29 18:19:09, pink wrote:
> does anything have the window cached? are we using it as an opaque handle for
> any cross-platform IPC nonsense? just making sure.

BrowserWindowCocoa caches it, but experimentation (e.g. switching apps with
cmd-tab) doesn't show any problems.

Powered by Google App Engine
This is Rietveld 408576698