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

Issue 1048473002: Linux/Mac Views: Make BrowserWindow::Show() behave like Windows. (Closed)

Created:
5 years, 9 months ago by Lei Zhang
Modified:
5 years, 8 months ago
Reviewers:
tapted, Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux/Mac Views: Make BrowserWindow::Show() behave like Windows. Calling BrowserWindow::Show() should synchronously call BrowserList::SetLastActive(). This fixes a --kiosk startup regression. BUG=470265 TEST=Manual, --kiosk should open in kiosk mode on Linux. Committed: https://crrev.com/8d447bb8d38166299820c3ec8410d06d0e1ddbbd Cr-Commit-Position: refs/heads/master@{#322940}

Patch Set 1 #

Total comments: 5

Patch Set 2 : update comments, check for Ash #

Total comments: 1

Patch Set 3 : Move to the top of BrowserView::Show() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Lei Zhang
Based on discussion from https://codereview.chromium.org/1044523002/
5 years, 9 months ago (2015-03-28 02:31:41 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode687 chrome/browser/ui/views/frame/browser_view.cc:687: // A similar block also appears in BrowserWindowCocoa::Show(). ...
5 years, 9 months ago (2015-03-28 02:35:38 UTC) #3
tapted
https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode688 chrome/browser/ui/views/frame/browser_view.cc:688: #if !defined(OS_WIN) add `&& !defined(OS_CHROMEOS)`? The downside of not ...
5 years, 9 months ago (2015-03-28 03:10:57 UTC) #4
Peter Kasting
https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode688 chrome/browser/ui/views/frame/browser_view.cc:688: #if !defined(OS_WIN) On 2015/03/28 03:10:57, tapted wrote: > add ...
5 years, 9 months ago (2015-03-28 03:12:52 UTC) #5
tapted
https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1048473002/diff/1/chrome/browser/ui/views/frame/browser_view.cc#newcode688 chrome/browser/ui/views/frame/browser_view.cc:688: #if !defined(OS_WIN) On 2015/03/28 03:12:52, Peter Kasting wrote: > ...
5 years, 9 months ago (2015-03-28 03:35:32 UTC) #6
Lei Zhang
In patch set 2, it's still #if !defined(OS_WIN), but inside I've added a check to ...
5 years, 8 months ago (2015-03-30 22:42:16 UTC) #7
tapted
noticed an early exit case, it might make sense to move the code earlier in ...
5 years, 8 months ago (2015-03-30 23:01:04 UTC) #8
Lei Zhang
On 2015/03/30 23:01:04, tapted wrote: > noticed an early exit case, it might make sense ...
5 years, 8 months ago (2015-03-30 23:16:56 UTC) #9
Peter Kasting
On 2015/03/30 23:16:56, Lei Zhang wrote: > On 2015/03/30 23:01:04, tapted wrote: > > noticed ...
5 years, 8 months ago (2015-03-30 23:22:21 UTC) #10
Lei Zhang
On 2015/03/30 23:22:21, Peter Kasting wrote: > Why would that be preferable? If we're adding ...
5 years, 8 months ago (2015-03-30 23:32:27 UTC) #11
tapted
slgtm :) On 2015/03/30 23:16:56, Lei Zhang wrote: > On 2015/03/30 23:01:04, tapted wrote: > ...
5 years, 8 months ago (2015-03-30 23:40:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048473002/40001
5 years, 8 months ago (2015-03-31 01:29:33 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-03-31 01:34:57 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 01:36:02 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8d447bb8d38166299820c3ec8410d06d0e1ddbbd
Cr-Commit-Position: refs/heads/master@{#322940}

Powered by Google App Engine
This is Rietveld 408576698