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

Issue 2847090: Fix --kiosk to work regardless of the startup pref setting or supplied URLs. ... (Closed)

Created:
10 years, 4 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Fix --kiosk to work regardless of the startup pref setting or supplied URLs. This also fixes a bug in Linux Views where calling BrowserWindow::Show() wouldn't synchronously call BrowserList::SetLastActive(). This happens naturally in Windows and was already explicitly done in BrowserWindowGtk and BrowserWindowCocoas, but missing it for Linux Views resulted in crashes when the kiosk code tried to get the last active window before the message loop had pumped the async activation change message. BUG=none TEST=Set Chrome to "open windows and tabs from last time", then run with --kiosk. Should start in kiosk mode (fullscreen, no status bubble). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54643

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M chrome/browser/browser_init.cc View 1 2 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/browser_list.h View 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Peter Kasting
Zel, the browser_init.cc part was previously r+ed, so the only bit to review is the ...
10 years, 4 months ago (2010-07-29 22:27:56 UTC) #1
Peter Kasting
ping
10 years, 4 months ago (2010-08-02 19:33:50 UTC) #2
Peter Kasting
Changing reviewer to sky since Zel doesn't seem to be around and sky has a ...
10 years, 4 months ago (2010-08-02 22:54:59 UTC) #3
sky
http://codereview.chromium.org/2847090/diff/1/2 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/2847090/diff/1/2#newcode558 chrome/browser/browser_init.cc:558: BrowserList::GetLastActive()->ToggleFullscreenMode(); GetLastActive can return null during startup (see warning ...
10 years, 4 months ago (2010-08-02 23:07:33 UTC) #4
Peter Kasting
New snap up. http://codereview.chromium.org/2847090/diff/1/2 File chrome/browser/browser_init.cc (right): http://codereview.chromium.org/2847090/diff/1/2#newcode558 chrome/browser/browser_init.cc:558: BrowserList::GetLastActive()->ToggleFullscreenMode(); On 2010/08/02 23:07:33, sky wrote: ...
10 years, 4 months ago (2010-08-02 23:36:13 UTC) #5
sky
10 years, 4 months ago (2010-08-02 23:42:46 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698