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

Issue 4145013: DOMUI: Use ShowSingletonTab to open the settings tab. (Closed)

Created:
10 years, 1 month ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

DOMUI: Add |ignore_path| to NavigateParams and use this to implement opening a singleton settings window. BUG=59889 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66472

Patch Set 1 #

Patch Set 2 : Move settings logic to ShowSingletonTab. #

Total comments: 3

Patch Set 3 : Update. #

Patch Set 4 : Comment fix. #

Total comments: 2

Patch Set 5 : ShowSingletonTab. #

Patch Set 6 : Test typo. #

Total comments: 4

Patch Set 7 : csilv review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -55 lines) Patch
M chrome/browser/back_forward_menu_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/network_message_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/dom_ui/bug_report_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/test/render_process_host_browsertest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.h View 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 3 4 5 4 chunks +10 lines, -30 lines 0 comments Download
M chrome/browser/ui/browser_navigator.h View 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 3 4 5 3 chunks +28 lines, -14 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 3 4 5 6 3 chunks +102 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
James Hawkins
10 years, 1 month ago (2010-10-29 22:03:58 UTC) #1
James Hawkins
+ben
10 years, 1 month ago (2010-10-29 23:18:54 UTC) #2
csilv
The change LGTM, but let me document why we decided to not use ShowSingletonTab (we ...
10 years, 1 month ago (2010-10-29 23:45:54 UTC) #3
Ben Goodger (Google)
I don't think you should degrade functionality... since you're doing all of this in terms ...
10 years, 1 month ago (2010-11-01 18:33:38 UTC) #4
Ben Goodger (Google)
10 years, 1 month ago (2010-11-01 18:33:45 UTC) #5
csilv
http://codereview.chromium.org/4145013/diff/3001/4001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/4145013/diff/3001/4001#newcode1094 chrome/browser/browser.cc:1094: // Check the scheme,host combination to find a previously ...
10 years, 1 month ago (2010-11-01 18:41:11 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/4145013/diff/3001/4001 File chrome/browser/browser.cc (right): http://codereview.chromium.org/4145013/diff/3001/4001#newcode1099 chrome/browser/browser.cc:1099: (tab_url.scheme() == url.scheme() && tab_url.host() == url.host())) { Take ...
10 years, 1 month ago (2010-11-01 19:18:45 UTC) #7
James Hawkins
New implementation uploaded. Please take a look.
10 years, 1 month ago (2010-11-17 00:02:01 UTC) #8
Ben Goodger (Google)
http://codereview.chromium.org/4145013/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/4145013/diff/15001/chrome/browser/ui/browser.cc#newcode1768 chrome/browser/ui/browser.cc:1768: browser::Navigate(&params); How about changing Browser::ShowSingletonTab() to take ignore_path as ...
10 years, 1 month ago (2010-11-17 00:20:45 UTC) #9
James Hawkins
http://codereview.chromium.org/4145013/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/4145013/diff/15001/chrome/browser/ui/browser.cc#newcode1768 chrome/browser/ui/browser.cc:1768: browser::Navigate(&params); On 2010/11/17 00:20:45, Ben Goodger wrote: > How ...
10 years, 1 month ago (2010-11-17 00:31:16 UTC) #10
csilv
LGTM http://codereview.chromium.org/4145013/diff/24001/chrome/browser/ui/browser_navigator_browsertest.cc File chrome/browser/ui/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/4145013/diff/24001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode474 chrome/browser/ui/browser_navigator_browsertest.cc:474: // and |ignore_tabs| = true opens a new ...
10 years, 1 month ago (2010-11-17 01:31:56 UTC) #11
James Hawkins
http://codereview.chromium.org/4145013/diff/24001/chrome/browser/ui/browser_navigator_browsertest.cc File chrome/browser/ui/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/4145013/diff/24001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode474 chrome/browser/ui/browser_navigator_browsertest.cc:474: // and |ignore_tabs| = true opens a new tab ...
10 years, 1 month ago (2010-11-17 01:48:21 UTC) #12
Ben Goodger (Google)
10 years, 1 month ago (2010-11-17 15:45:49 UTC) #13
LGTM.

Powered by Google App Engine
This is Rietveld 408576698