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

Issue 12089026: Fixing opening a new tab if none exists to show the enrollment URI for certificates. (Closed)

Created:
7 years, 10 months ago by pneubeck (no reviews)
Modified:
7 years, 9 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixing opening a new tab if none exists to show the enrollment URI for certificates. Replacing FindTabbedBrowser by FindOrCreateTabbedBrowser and Navigate to open the tab. Using Restore() to actually make the browser window visible. Otherwise it will remain minimized. BUG=172203 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190018

Patch Set 1 : Initial patch. #

Total comments: 2

Patch Set 2 : Addressing comments and calling navigate after dialog closed. #

Total comments: 1

Patch Set 3 : Modified stubs to allow reproducing the bug in ChromeOS run on Linux. #

Patch Set 4 : Addressed Sky's comment. Some more cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -20 lines) Patch
M chrome/browser/chromeos/enrollment_dialog_view.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/enrollment_dialog_view.cc View 1 2 3 6 chunks +19 lines, -19 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
pneubeck (no reviews)
Hi Scott, could you please take a look. I wonder why the Restore() is required. ...
7 years, 10 months ago (2013-01-30 19:15:08 UTC) #1
sky
https://codereview.chromium.org/12089026/diff/2002/chrome/browser/chromeos/enrollment_dialog_view.cc File chrome/browser/chromeos/enrollment_dialog_view.cc (left): https://codereview.chromium.org/12089026/diff/2002/chrome/browser/chromeos/enrollment_dialog_view.cc#oldcode114 chrome/browser/chromeos/enrollment_dialog_view.cc:114: // Couldn't find a tabbed browser: create one. This ...
7 years, 10 months ago (2013-01-30 22:46:27 UTC) #2
pneubeck (no reviews)
Hi Scott, as far as I could find out, the new browser window remains minimized ...
7 years, 10 months ago (2013-02-19 20:30:11 UTC) #3
sky
We don't create windows minimized, so how does it end up minimized in the first ...
7 years, 10 months ago (2013-02-19 22:43:51 UTC) #4
pneubeck (no reviews)
I had hoped to fix this for 26. Since I'm not familiar with the window ...
7 years, 10 months ago (2013-02-25 16:29:19 UTC) #5
sky
Unfortunately I'm swamped and won't have time to help out. Ask James Cook if he ...
7 years, 10 months ago (2013-02-25 16:48:51 UTC) #6
Greg Spencer (Chromium)
On 2013/02/25 16:48:51, sky wrote: > Unfortunately I'm swamped and won't have time to help ...
7 years, 9 months ago (2013-03-15 21:05:00 UTC) #7
Greg Spencer (Chromium)
Steven, can you review this for Phillipp?
7 years, 9 months ago (2013-03-15 21:05:30 UTC) #8
Greg Spencer (Chromium)
Filed bug https://crbug.com/196697 to track the larger issue.
7 years, 9 months ago (2013-03-15 21:14:12 UTC) #9
stevenjb
lgtm
7 years, 9 months ago (2013-03-15 21:15:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/12089026/14001
7 years, 9 months ago (2013-03-15 21:41:28 UTC) #11
sky
Why are we working around the bug here and not trying to find the real ...
7 years, 9 months ago (2013-03-15 23:09:36 UTC) #12
Greg Spencer (Chromium)
On 2013/03/15 23:09:36, sky wrote: > Why are we working around the bug here and ...
7 years, 9 months ago (2013-03-15 23:16:30 UTC) #13
stevenjb
On 2013/03/15 23:09:36, sky wrote: > Why are we working around the bug here and ...
7 years, 9 months ago (2013-03-15 23:19:57 UTC) #14
sky
Patchset 2 is a workaround. Working around bugs leads to a messy code base and ...
7 years, 9 months ago (2013-03-15 23:27:11 UTC) #15
Greg Spencer (Chromium)
On 2013/03/15 23:27:11, sky wrote: > Patchset 2 is a workaround. Working around bugs leads ...
7 years, 9 months ago (2013-03-15 23:38:18 UTC) #16
sky
On Fri, Mar 15, 2013 at 4:38 PM, <gspencer@chromium.org> wrote: > On 2013/03/15 23:27:11, sky ...
7 years, 9 months ago (2013-03-15 23:44:15 UTC) #17
sky
Sorry if I seem cranky here and I don't mean to direct that at you ...
7 years, 9 months ago (2013-03-16 00:02:08 UTC) #18
stevenjb
FWIW, I am entirely sympathetic to the sentiment, and certainly didn't take anything personally. However, ...
7 years, 9 months ago (2013-03-16 00:08:46 UTC) #19
Greg Spencer (Chromium)
Yeah, I didn't take it personally either. I understand why you're cranky, I just think ...
7 years, 9 months ago (2013-03-16 00:25:15 UTC) #20
commit-bot: I haz the power
List of reviewers changed. sky@chromium.org did a drive-by without LGTM'ing!
7 years, 9 months ago (2013-03-16 09:25:30 UTC) #21
sky
https://codereview.chromium.org/12089026/diff/14001/chrome/browser/chromeos/enrollment_dialog_view.cc File chrome/browser/chromeos/enrollment_dialog_view.cc (right): https://codereview.chromium.org/12089026/diff/14001/chrome/browser/chromeos/enrollment_dialog_view.cc#newcode128 chrome/browser/chromeos/enrollment_dialog_view.cc:128: } This should set params.window_action to SHOW_WINDOW, otherwise if ...
7 years, 9 months ago (2013-03-18 16:10:48 UTC) #22
Greg Spencer (Chromium)
On 2013/03/18 16:10:48, sky wrote: > This should set params.window_action to SHOW_WINDOW, otherwise if > ...
7 years, 9 months ago (2013-03-19 17:33:07 UTC) #23
sky
On Tue, Mar 19, 2013 at 10:33 AM, <gspencer@chromium.org> wrote: > On 2013/03/18 16:10:48, sky ...
7 years, 9 months ago (2013-03-19 21:18:22 UTC) #24
sky
Also, I think this means you can leave the code as it was (meaning don't ...
7 years, 9 months ago (2013-03-19 21:21:16 UTC) #25
pneubeck (no reviews)
No it doesn't. That is what we initially tested: chrome::NavigateParams params(browser, GURL(target_uri_), content::PAGE_TRANSITION_LINK); params.disposition = ...
7 years, 9 months ago (2013-03-20 12:00:39 UTC) #26
sky
What are the steps to reproduce this? Can you create a test for this? On ...
7 years, 9 months ago (2013-03-20 14:37:58 UTC) #27
pneubeck (no reviews)
On 2013/03/20 14:37:58, sky wrote: > What are the steps to reproduce this? Can you ...
7 years, 9 months ago (2013-03-20 16:08:36 UTC) #28
sky
On 2013/03/20 16:08:36, pneubeck wrote: > On 2013/03/20 14:37:58, sky wrote: > > What are ...
7 years, 9 months ago (2013-03-20 23:36:13 UTC) #29
stevenjb (google-dont-use)
On Wed, Mar 20, 2013 at 4:36 PM, <sky@chromium.org> wrote: > > No idea how ...
7 years, 9 months ago (2013-03-21 01:43:45 UTC) #30
pneubeck (no reviews)
On 2013/03/20 23:36:13, sky wrote: > On 2013/03/20 16:08:36, pneubeck wrote: > > On 2013/03/20 ...
7 years, 9 months ago (2013-03-21 08:27:21 UTC) #31
pneubeck (no reviews)
I cleaned up the file a bit more: - fixed includes - let Navigate() open ...
7 years, 9 months ago (2013-03-21 12:24:26 UTC) #32
pneubeck (no reviews)
On 2013/03/21 12:24:26, pneubeck wrote: > I cleaned up the file a bit more: > ...
7 years, 9 months ago (2013-03-21 12:26:14 UTC) #33
sky
LGTM
7 years, 9 months ago (2013-03-21 15:06:59 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/12089026/74001
7 years, 9 months ago (2013-03-21 15:08:19 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/12089026/74001
7 years, 9 months ago (2013-03-22 18:08:32 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/12089026/74001
7 years, 9 months ago (2013-03-23 14:39:30 UTC) #37
commit-bot: I haz the power
7 years, 9 months ago (2013-03-23 16:16:57 UTC) #38
Message was sent while issue was closed.
Change committed as 190018

Powered by Google App Engine
This is Rietveld 408576698