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

Issue 10544185: Order the script badges in the location bar consistently (Closed)

Created:
8 years, 6 months ago by not at google - send to devlin
Modified:
8 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Order the script badges in the location bar in the order that they appeared, and fix the logic on each platform which assumes they never change. BUG=133139 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142855

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 15

Patch Set 5 : make_scoped_ptr back to taking a T* #

Patch Set 6 : no more scoped_ptr #

Patch Set 7 : missing _ in views #

Patch Set 8 : revert scoped_ptr change, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -68 lines) Patch
M chrome/browser/extensions/location_bar_controller.h View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/extensions/page_action_controller.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/page_action_controller.cc View 1 2 3 4 5 1 chunk +6 lines, -8 lines 0 comments Download
M chrome/browser/extensions/script_badge_controller.h View 1 2 3 4 5 3 chunks +24 lines, -3 lines 0 comments Download
M chrome/browser/extensions/script_badge_controller.cc View 1 2 3 4 5 4 chunks +71 lines, -25 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 1 chunk +8 lines, -12 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
not at google - send to devlin
Epic code reviewer list. aa: extensions estade: gtk sky: views thakis: cocoa willchan/jeffrey: scoped_ptr.h
8 years, 6 months ago (2012-06-15 23:02:48 UTC) #1
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { Can't we change this to take ...
8 years, 6 months ago (2012-06-15 23:15:01 UTC) #2
Jeffrey Yasskin
http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { This could use a comment like ...
8 years, 6 months ago (2012-06-15 23:17:38 UTC) #3
Evan Stade
http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/gtk/location_bar_view_gtk.cc File chrome/browser/ui/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/gtk/location_bar_view_gtk.cc#newcode703 chrome/browser/ui/gtk/location_bar_view_gtk.cc:703: if (new_page_actions != page_actions_) { I've never actually tried ...
8 years, 6 months ago (2012-06-16 00:42:46 UTC) #4
Jeffrey Yasskin
http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/gtk/location_bar_view_gtk.cc File chrome/browser/ui/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/gtk/location_bar_view_gtk.cc#newcode703 chrome/browser/ui/gtk/location_bar_view_gtk.cc:703: if (new_page_actions != page_actions_) { On 2012/06/16 00:42:46, Evan ...
8 years, 6 months ago (2012-06-16 00:53:25 UTC) #5
Nico
Please either add a BUG= line or add a TEST= line that describes how to ...
8 years, 6 months ago (2012-06-16 04:58:03 UTC) #6
Aaron Boodman
Added a BUG line, but just to the generic feature.
8 years, 6 months ago (2012-06-16 05:42:36 UTC) #7
Nico
Thanks, that's good enough for me.
8 years, 6 months ago (2012-06-16 05:53:05 UTC) #8
Aaron Boodman
extensions lgtm http://codereview.chromium.org/10544185/diff/1013/chrome/browser/extensions/script_badge_controller.cc File chrome/browser/extensions/script_badge_controller.cc (right): http://codereview.chromium.org/10544185/diff/1013/chrome/browser/extensions/script_badge_controller.cc#newcode37 chrome/browser/extensions/script_badge_controller.cc:37: return make_scoped_ptr<std::vector<ExtensionAction*> >(current_actions_); Nice utility. Sorry for ...
8 years, 6 months ago (2012-06-17 14:44:31 UTC) #9
sky
views LGTM
8 years, 6 months ago (2012-06-17 22:29:48 UTC) #10
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { On 2012/06/15 23:17:38, Jeffrey Yasskin wrote: ...
8 years, 6 months ago (2012-06-18 03:16:53 UTC) #11
Jeffrey Yasskin
https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): https://chromiumcodereview.appspot.com/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { On 2012/06/18 03:16:53, willchan wrote: > ...
8 years, 6 months ago (2012-06-18 05:42:15 UTC) #12
not at google - send to devlin
http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { On 2012/06/18 05:42:15, Jeffrey Yasskin wrote: ...
8 years, 6 months ago (2012-06-18 17:50:26 UTC) #13
Nico
http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm File chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm (right): http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm#newcode604 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm:604: scoped_ptr<std::vector<ExtensionAction*> > new_page_actions = On 2012/06/18 17:50:27, kalman wrote: ...
8 years, 6 months ago (2012-06-18 17:54:23 UTC) #14
not at google - send to devlin
So I guess make_scoped_ptr isn't used anymore. http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm File chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm (right): http://codereview.chromium.org/10544185/diff/1013/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm#newcode604 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm:604: scoped_ptr<std::vector<ExtensionAction*> > ...
8 years, 6 months ago (2012-06-18 18:05:59 UTC) #15
Nico
cocoa lgtm
8 years, 6 months ago (2012-06-18 18:44:44 UTC) #16
willchan no longer on Chromium
http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h File base/memory/scoped_ptr.h (right): http://codereview.chromium.org/10544185/diff/1013/base/memory/scoped_ptr.h#newcode497 base/memory/scoped_ptr.h:497: scoped_ptr<T> make_scoped_ptr() { On 2012/06/18 17:50:27, kalman wrote: > ...
8 years, 6 months ago (2012-06-18 18:52:32 UTC) #17
Evan Stade
gtk lgtm
8 years, 6 months ago (2012-06-18 19:03:14 UTC) #18
not at google - send to devlin
> I don't think it'll go away (did I say that? if so, I was ...
8 years, 6 months ago (2012-06-18 19:03:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10544185/2002
8 years, 6 months ago (2012-06-18 19:08:09 UTC) #20
commit-bot: I haz the power
Try job failure for 10544185-2002 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 6 months ago (2012-06-18 20:02:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10544185/2002
8 years, 6 months ago (2012-06-18 20:16:21 UTC) #22
commit-bot: I haz the power
Try job failure for 10544185-2002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-18 21:11:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10544185/2002
8 years, 6 months ago (2012-06-18 21:12:58 UTC) #24
commit-bot: I haz the power
8 years, 6 months ago (2012-06-18 23:23:44 UTC) #25
Change committed as 142855

Powered by Google App Engine
This is Rietveld 408576698