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

Issue 7566016: Fullscreen support for Lion. (Closed)

Created:
9 years, 4 months ago by rohitrao (ping after 24h)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, asanka, jennb, Dmitry Titov, jianli, prasadt, dcheng, Paweł Hajdan Jr., Randy Smith (Not in Mondays), Avi (use Gerrit)
Visibility:
Public.

Description

Fullscreen support for Lion. XIB changes: - Add new "Enter Presentation Mode" menu item with Cmd-Shift-F. - Change key equivalent for "Enter Full Screen" to Cmd-Opt-F. On Lion: This CL separates the concepts of "fullscreen mode" and "presentation mode." Fullscreen mode uses Lion's fullscreen mode and places the window in its own space. Presentation mode is an extra option to additionally hide the UI when in fullscreen mode. On Lion, clicking on the fullscreen button takes you into fullscreen mode, in which there is a button to toggle presentation mode on or off. While in normal windowed mode, there are two menu options to either "Enter Full Screen" or "Enter Presentation Mode" directly. On Snow Leopard: This CL does not change much on Snow Leopard. To maintain consistency with the new Lion terminology, the "Enter Full Screen" menu item has been renamed to "Enter Presentation Mode." BUG=74065 TEST=Fullscreen works in Lion. Fullscreen continues to work as before in Snow Leopard. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95518

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 15

Patch Set 5 : '' #

Total comments: 16

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+950 lines, -1143 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/nibs/MainMenu.xib View 1 2 3 4 5 6 7 8 9 8 chunks +30 lines, -4 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 5 6 7 8 9 5 chunks +54 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 11 chunks +124 lines, -160 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 2 3 4 5 6 7 8 9 4 chunks +61 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 6 7 8 9 14 chunks +389 lines, -56 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/download/download_shelf_controller.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/framed_browser_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/framed_browser_window.mm View 1 2 3 4 5 6 7 8 9 2 chunks +27 lines, -0 lines 0 comments Download
D chrome/browser/ui/cocoa/fullscreen_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -122 lines 0 comments Download
D chrome/browser/ui/cocoa/fullscreen_controller.mm View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -634 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/cocoa/presentation_mode_controller.h View 6 chunks +41 lines, -38 lines 0 comments Download
A + chrome/browser/ui/cocoa/presentation_mode_controller.mm View 1 2 3 4 18 chunks +73 lines, -58 lines 0 comments Download
A chrome/browser/ui/cocoa/presentation_mode_prefs.h View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/presentation_mode_prefs.mm View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/side_tab_strip_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.h View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 3 4 5 6 7 8 9 8 chunks +16 lines, -20 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rohitrao (ping after 24h)
I'm sending this out for a first review. There are a couple bugs I still ...
9 years, 4 months ago (2011-08-04 01:24:42 UTC) #1
Robert Sesek
http://codereview.chromium.org/7566016/diff/4007/chrome/browser/ui/cocoa/browser_window_controller.h File chrome/browser/ui/cocoa/browser_window_controller.h (right): http://codereview.chromium.org/7566016/diff/4007/chrome/browser/ui/cocoa/browser_window_controller.h#newcode130 chrome/browser/ui/cocoa/browser_window_controller.h:130: scoped_nsobject<NSWindow> fullscreenWindow_; Make this a FullscreenWindow to appease the ...
9 years, 4 months ago (2011-08-04 14:43:41 UTC) #2
Mark Mentovai
When I first enter full-screen, either presentation or not, mouseovers don’t work. I don’t get ...
9 years, 4 months ago (2011-08-04 15:07:19 UTC) #3
rohitrao (ping after 24h)
New diffs up. These fix: 1) rsesek's comments. 2) Key equivalents. 3) Incognito guy spacing. ...
9 years, 4 months ago (2011-08-04 18:18:26 UTC) #4
rohitrao (ping after 24h)
On 2011/08/04 15:07:19, Mark Mentovai wrote: > When I first enter full-screen, either presentation or ...
9 years, 4 months ago (2011-08-04 18:29:13 UTC) #5
Mark Mentovai
I love you. http://codereview.chromium.org/7566016/diff/17001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): http://codereview.chromium.org/7566016/diff/17001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode37 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:37: #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" Sort, presentation_mode_controller < themed_window. ...
9 years, 4 months ago (2011-08-04 19:18:16 UTC) #6
rohitrao (ping after 24h)
http://codereview.chromium.org/7566016/diff/17001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): http://codereview.chromium.org/7566016/diff/17001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode37 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:37: #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" On 2011/08/04 19:18:17, Mark Mentovai wrote: > ...
9 years, 4 months ago (2011-08-04 19:49:17 UTC) #7
Mark Mentovai
I’m going to LGTM this now because the code is clean enough, the behaviors are ...
9 years, 4 months ago (2011-08-04 19:56:52 UTC) #8
commit-bot: I haz the power
9 years, 4 months ago (2011-08-04 21:38:42 UTC) #9
Can't process patch for file
chrome/browser/ui/cocoa/presentation_mode_controller.mm.
A  +

Powered by Google App Engine
This is Rietveld 408576698