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

Issue 4655002: Don't show tabbed options page in OTR browser window. (Closed)

Created:
10 years, 1 month ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, ben+cc_chromium.org, arv (Not doing code reviews), stuartmorgan
Visibility:
Public.

Description

Don't show tabbed options page or bookmarks manager in OTR browser window. Instead, always show it in a normal window (creating one if necessary). The change is made in BrowserNavigator because that is the control flow bottleneck. BUG=61813 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66189

Patch Set 1 #

Patch Set 2 : cover more bases #

Patch Set 3 : another base covered #

Patch Set 4 : fix typos #

Patch Set 5 : handle bookmark manager as well #

Total comments: 6

Patch Set 6 : pkasting nits #

Total comments: 10

Patch Set 7 : ben/sadrul comments #

Patch Set 8 : fix typo #

Patch Set 9 : fix drag case #

Patch Set 10 : dcheck instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -23 lines) Patch
M chrome/browser/dom_ui/options/options_ui.cc View 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/gtk/tabs/tab_strip_gtk.cc View 2 3 4 5 6 7 8 4 chunks +14 lines, -23 lines 0 comments Download
M chrome/browser/ui/browser.cc View 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 5 6 7 3 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Evan Stade
10 years, 1 month ago (2010-11-09 20:20:59 UTC) #1
Peter Kasting
This seems like the brutally hard way. Why don't we just make the actual API ...
10 years, 1 month ago (2010-11-09 20:33:31 UTC) #2
Evan Stade
ask Glen
10 years, 1 month ago (2010-11-09 20:35:20 UTC) #3
Peter Kasting
On 2010/11/09 20:35:20, Evan Stade wrote: > ask Glen I think Glen is just trying ...
10 years, 1 month ago (2010-11-09 20:37:08 UTC) #4
Evan Stade
On Tue, Nov 9, 2010 at 12:37 PM, <pkasting@chromium.org> wrote: > On 2010/11/09 20:35:20, Evan ...
10 years, 1 month ago (2010-11-09 20:42:30 UTC) #5
Glen Murphy
Let's talk about this tomorrow - I feel that doing this in an incognito tab ...
10 years, 1 month ago (2010-11-10 03:31:35 UTC) #6
Peter Kasting
We talked and no one was happy with any solution. Let's proceed with the "punt ...
10 years, 1 month ago (2010-11-10 20:58:08 UTC) #7
Evan Stade
updated to handle the bookmark manager as well. There are still some rare cases where ...
10 years, 1 month ago (2010-11-11 00:13:51 UTC) #8
Evan Stade
ping
10 years, 1 month ago (2010-11-12 19:40:30 UTC) #9
Peter Kasting
This looks fine to me but I don't understand navigation very well. You may want ...
10 years, 1 month ago (2010-11-12 19:49:01 UTC) #10
Evan Stade
+sadrul, ben http://codereview.chromium.org/4655002/diff/17001/chrome/browser/gtk/tabs/tab_strip_gtk.cc File chrome/browser/gtk/tabs/tab_strip_gtk.cc (right): http://codereview.chromium.org/4655002/diff/17001/chrome/browser/gtk/tabs/tab_strip_gtk.cc#newcode1979 chrome/browser/gtk/tabs/tab_strip_gtk.cc:1979: if (!browser) { On 2010/11/12 19:49:01, Peter ...
10 years, 1 month ago (2010-11-12 20:47:11 UTC) #11
brettw
I would really prefer a function "ShowOptionsOrSomething" that handles all this window creation stuff and ...
10 years, 1 month ago (2010-11-12 21:26:43 UTC) #12
sadrul
I am only a little familiar with Navigate, so I just there. http://codereview.chromium.org/4655002/diff/23001/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc ...
10 years, 1 month ago (2010-11-12 21:46:53 UTC) #13
Evan Stade
http://codereview.chromium.org/4655002/diff/23001/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/4655002/diff/23001/chrome/browser/ui/browser_navigator.cc#newcode113 chrome/browser/ui/browser_navigator.cc:113: params->disposition = NEW_FOREGROUND_TAB; On 2010/11/12 21:46:54, sadrul wrote: > ...
10 years, 1 month ago (2010-11-12 23:53:41 UTC) #14
Evan Stade
On 2010/11/12 21:26:43, brettw wrote: > I would really prefer a function "ShowOptionsOrSomething" that handles ...
10 years, 1 month ago (2010-11-12 23:55:28 UTC) #15
brettw
I guess I don't have any high-level complaints. Will be AFK so don't wait for ...
10 years, 1 month ago (2010-11-14 23:57:20 UTC) #16
Ben Goodger (Google)
http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc File chrome/browser/dom_ui/options/options_ui.cc (right): http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc#newcode258 chrome/browser/dom_ui/options/options_ui.cc:258: return; Why are you also handling this here when ...
10 years, 1 month ago (2010-11-15 18:21:04 UTC) #17
sadrul
http://codereview.chromium.org/4655002/diff/23001/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/4655002/diff/23001/chrome/browser/ui/browser_navigator.cc#newcode116 chrome/browser/ui/browser_navigator.cc:116: params->tabstrip_add_types = TabStripModel::ADD_SELECTED; On 2010/11/15 18:21:04, Ben Goodger wrote: ...
10 years, 1 month ago (2010-11-15 18:40:59 UTC) #18
Evan Stade
http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc File chrome/browser/dom_ui/options/options_ui.cc (right): http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc#newcode258 chrome/browser/dom_ui/options/options_ui.cc:258: return; On 2010/11/15 18:21:04, Ben Goodger wrote: > Why ...
10 years, 1 month ago (2010-11-15 18:51:46 UTC) #19
Ben Goodger (Google)
http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc File chrome/browser/dom_ui/options/options_ui.cc (right): http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc#newcode258 chrome/browser/dom_ui/options/options_ui.cc:258: return; Can you make the drag and drop handling ...
10 years, 1 month ago (2010-11-15 18:57:19 UTC) #20
Evan Stade
On 2010/11/15 18:57:19, Ben Goodger wrote: > http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc > File chrome/browser/dom_ui/options/options_ui.cc (right): > > http://codereview.chromium.org/4655002/diff/23001/chrome/browser/dom_ui/options/options_ui.cc#newcode258 ...
10 years, 1 month ago (2010-11-15 21:51:10 UTC) #21
Ben Goodger (Google)
On 2010/11/15 21:51:10, Evan Stade wrote: > load the settings page. So instead of having ...
10 years, 1 month ago (2010-11-15 21:54:56 UTC) #22
Evan Stade
done
10 years, 1 month ago (2010-11-15 21:57:51 UTC) #23
Ben Goodger (Google)
10 years, 1 month ago (2010-11-15 22:10:44 UTC) #24
Thanks! LGTM.

Powered by Google App Engine
This is Rietveld 408576698