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

Issue 7309006: Disable encoding menu item for chrome://bookmarks (Closed)

Created:
9 years, 5 months ago by Alexei Svitkine (slow)
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Disable encoding menu item for chrome://bookmarks Use |NavigationEntry::virtual_url()| to account for URL rewriting, which happens for chrome://bookmarks. BUG=88387 TEST=Go to chrome://bookmarks. View -> Encoding submenu items should be disabled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91647

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

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

Messages

Total messages: 10 (0 generated)
Alexei Svitkine (slow)
9 years, 5 months ago (2011-07-04 14:45:40 UTC) #1
Peter Kasting
Rubber-stamp LGTM, but I don't really know what "virtual_url()" is. You might want to check ...
9 years, 5 months ago (2011-07-04 22:36:01 UTC) #2
Alexei Svitkine (slow)
http://codereview.chromium.org/7309006/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/7309006/diff/1/chrome/browser/ui/browser.cc#newcode3981 chrome/browser/ui/browser.cc:3981: // Instead of using GetURL here, we use url() ...
9 years, 5 months ago (2011-07-05 14:18:13 UTC) #3
Peter Kasting
If there is this much complexity involved, I'm not willing to rubber-stamp this with my ...
9 years, 5 months ago (2011-07-06 03:15:56 UTC) #4
Alexei Svitkine (slow)
Fair enough, Peter. Mike, Brett - can you review this change? Thanks.
9 years, 5 months ago (2011-07-06 13:39:06 UTC) #5
brettw
http://codereview.chromium.org/7309006/diff/5003/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/7309006/diff/5003/chrome/browser/ui/browser.cc#newcode3951 chrome/browser/ui/browser.cc:3951: bool Browser::HasInternalURL(const NavigationEntry* entry) const { When you move ...
9 years, 5 months ago (2011-07-06 16:55:23 UTC) #6
Alexei Svitkine (slow)
http://codereview.chromium.org/7309006/diff/5003/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/7309006/diff/5003/chrome/browser/ui/browser.h#newcode933 chrome/browser/ui/browser.h:933: bool HasInternalURL(const NavigationEntry *entry) const; On 2011/07/06 16:55:24, brettw ...
9 years, 5 months ago (2011-07-06 19:00:05 UTC) #7
msw
LGTM.
9 years, 5 months ago (2011-07-06 19:06:56 UTC) #8
brettw
LGTM
9 years, 5 months ago (2011-07-06 22:20:20 UTC) #9
commit-bot: I haz the power
9 years, 5 months ago (2011-07-07 01:07:22 UTC) #10
Change committed as 91647

Powered by Google App Engine
This is Rietveld 408576698