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

Issue 487021: Persist the order of extensions in the browser action toolbar across sessions... (Closed)

Created:
11 years ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
tony, Daniel Erat
CC:
chromium-reviews_googlegroups.com, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Persist the order of extensions in the browser action toolbar across sessions. Very similar to what we did with the extension shelf. BUG=26990 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34490

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -14 lines) Patch
M chrome/browser/extensions/extension_prefs.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 chunks +31 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_toolbar_model.cc View 1 2 4 chunks +78 lines, -9 lines 2 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
http://codereview.chromium.org/487021/diff/1007/1012 File chrome/browser/gtk/browser_actions_toolbar_gtk.cc (left): http://codereview.chromium.org/487021/diff/1007/1012#oldcode333 chrome/browser/gtk/browser_actions_toolbar_gtk.cc:333: CreateAllButtons(); having investigated this more, I realized that this ...
11 years ago (2009-12-11 02:17:15 UTC) #1
Evan Stade
note that this won't actually appear to work until bug 30057 is fixed (I have ...
11 years ago (2009-12-11 03:52:46 UTC) #2
Daniel Erat
LGTM, but you might want to have someone who's more familiar with the prefs code ...
11 years ago (2009-12-11 05:45:37 UTC) #3
Evan Stade
+tony http://codereview.chromium.org/487021/diff/1007/1011 File chrome/browser/extensions/extension_toolbar_model.cc (right): http://codereview.chromium.org/487021/diff/1007/1011#newcode121 chrome/browser/extensions/extension_toolbar_model.cc:121: // 3. Remove holes and merge the two ...
11 years ago (2009-12-11 19:43:19 UTC) #4
tony
LGTM http://codereview.chromium.org/487021/diff/8/1017 File chrome/browser/extensions/extension_toolbar_model.cc (right): http://codereview.chromium.org/487021/diff/8/1017#newcode136 chrome/browser/extensions/extension_toolbar_model.cc:136: service_->extensions()->at(i)->id(), false); Nit: Doesn't at(i) return the extension ...
11 years ago (2009-12-11 19:59:38 UTC) #5
Evan Stade
11 years ago (2009-12-11 20:04:20 UTC) #6
http://codereview.chromium.org/487021/diff/8/1017
File chrome/browser/extensions/extension_toolbar_model.cc (right):

http://codereview.chromium.org/487021/diff/8/1017#newcode136
chrome/browser/extensions/extension_toolbar_model.cc:136:
service_->extensions()->at(i)->id(), false);
On 2009/12/11 19:59:38, tony wrote:
> Nit: Doesn't at(i) return the extension you want?

hmm, so it does. Don't I feel stupid.

Powered by Google App Engine
This is Rietveld 408576698