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

Issue 9663044: Don't add devtools to list of startup pages (Closed)

Created:
8 years, 9 months ago by Tyler Breisacher (Chromium)
Modified:
8 years, 9 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews
Visibility:
Public.

Description

Don't add devtools to list of startup pages BUG=117633 TEST=devtools not counted as a "current page" R=estade@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126261

Patch Set 1 #

Total comments: 1

Patch Set 2 : exclude chrome://chrome/settings and chrome://settings, but not extensions pages #

Total comments: 1

Patch Set 3 : using kChromeUISettingsHost, and separating the logic into a new function #

Patch Set 4 : .find() fix #

Total comments: 2

Patch Set 5 : {} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M chrome/browser/custom_home_pages_table_model.cc View 1 2 3 4 2 chunks +29 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Tyler Breisacher (Chromium)
Can you think of any other URLs we should exclude? I think it makes sense ...
8 years, 9 months ago (2012-03-10 03:10:09 UTC) #1
Evan Stade
https://chromiumcodereview.appspot.com/9663044/diff/1/chrome/browser/custom_home_pages_table_model.cc File chrome/browser/custom_home_pages_table_model.cc (right): https://chromiumcodereview.appspot.com/9663044/diff/1/chrome/browser/custom_home_pages_table_model.cc#newcode162 chrome/browser/custom_home_pages_table_model.cc:162: url.host() == chrome::kChromeUIUberHost)) && this seems wrong actually, you ...
8 years, 9 months ago (2012-03-10 03:11:48 UTC) #2
Tyler Breisacher (Chromium)
Done.
8 years, 9 months ago (2012-03-10 03:40:12 UTC) #3
Evan Stade
https://chromiumcodereview.appspot.com/9663044/diff/2001/chrome/browser/custom_home_pages_table_model.cc File chrome/browser/custom_home_pages_table_model.cc (right): https://chromiumcodereview.appspot.com/9663044/diff/2001/chrome/browser/custom_home_pages_table_model.cc#newcode162 chrome/browser/custom_home_pages_table_model.cc:162: url.spec().find("chrome://chrome/settings") != 0 && should use constant... how about ...
8 years, 9 months ago (2012-03-10 03:45:02 UTC) #4
Tyler Breisacher (Chromium)
Done.
8 years, 9 months ago (2012-03-12 18:49:54 UTC) #5
Evan Stade
lgtm http://codereview.chromium.org/9663044/diff/5002/chrome/browser/custom_home_pages_table_model.cc File chrome/browser/custom_home_pages_table_model.cc (right): http://codereview.chromium.org/9663044/diff/5002/chrome/browser/custom_home_pages_table_model.cc#newcode44 chrome/browser/custom_home_pages_table_model.cc:44: url.path().find(chrome::kChromeUISettingsHost) == 1) { This also catches chrome://chrome/settings-foo ...
8 years, 9 months ago (2012-03-12 20:14:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/9663044/11001
8 years, 9 months ago (2012-03-12 20:17:59 UTC) #7
commit-bot: I haz the power
8 years, 9 months ago (2012-03-12 23:23:03 UTC) #8
Change committed as 126261

Powered by Google App Engine
This is Rietveld 408576698