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

Issue 10559054: Animate the script badges. (Closed)

Created:
8 years, 6 months ago by not at google - send to devlin
Modified:
8 years, 5 months ago
Reviewers:
Yoyo Zhou, Nico, Evan Stade
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, benwells, koz (OOO until 15th September), Jeffrey Yasskin
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Animate the script badges for cocoa and GTK. BUG=133139 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144426

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : clean up after itself #

Patch Set 4 : rebase #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : tweak gtk #

Patch Set 8 : sending for review... #

Patch Set 9 : really sending for review... #

Total comments: 12

Patch Set 10 : move to extension action #

Total comments: 7

Patch Set 11 : scoped animation observer #

Patch Set 12 : rebase, move IconAnimationWrapper to the top #

Patch Set 13 : rebase, fix thing i accidentally deleted in the last rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -54 lines) Patch
M chrome/browser/extensions/location_bar_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/extensions/page_action_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/page_action_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/script_badge_controller.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/script_badge_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +21 lines, -6 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +31 lines, -10 lines 0 comments Download
M chrome/common/extensions/extension_action.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +82 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension_action.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +129 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
not at google - send to devlin
aa: extensions thakis: cocoa estade: gtk (furthermore, my skia code comes just from reading the ...
8 years, 6 months ago (2012-06-20 22:43:25 UTC) #1
Nico
I'll wait with looking until aa is done (I skimmed the cocoa parts, they look ...
8 years, 6 months ago (2012-06-21 17:03:07 UTC) #2
not at google - send to devlin
aa -> yoz
8 years, 6 months ago (2012-06-21 18:51:07 UTC) #3
Aaron Boodman
On Thu, Jun 21, 2012 at 10:03 AM, <thakis@chromium.org> wrote: > Since you're touching the ...
8 years, 6 months ago (2012-06-21 18:54:22 UTC) #4
Yoyo Zhou
https://chromiumcodereview.appspot.com/10559054/diff/11001/chrome/browser/extensions/location_bar_controller.h File chrome/browser/extensions/location_bar_controller.h (right): https://chromiumcodereview.appspot.com/10559054/diff/11001/chrome/browser/extensions/location_bar_controller.h#newcode41 chrome/browser/extensions/location_bar_controller.h:41: // A fade-in animation for the items that appear ...
8 years, 6 months ago (2012-06-22 00:50:28 UTC) #5
Evan Stade
gtk lgtm
8 years, 6 months ago (2012-06-22 00:54:05 UTC) #6
not at google - send to devlin
Now that the ownership has shifted from ScriptBadgeController to ExtensionAction, the code has changed... still ...
8 years, 6 months ago (2012-06-26 07:30:47 UTC) #7
Yoyo Zhou
LGTM. I like this ownership much better. thakis, ready for your review. https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/common/extensions/extension_action.cc File chrome/common/extensions/extension_action.cc ...
8 years, 6 months ago (2012-06-26 18:38:15 UTC) #8
Yoyo Zhou
Forgot to mention: please add a note that it's Mac and GTK only in the ...
8 years, 6 months ago (2012-06-26 22:32:04 UTC) #9
Nico
One comment, other than that cocoa lgtm https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm File chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (right): https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm#newcode87 chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm:87: icon_animation_->RemoveObserver(this); This ...
8 years, 6 months ago (2012-06-26 22:59:21 UTC) #10
Evan Stade
gtk still lgtm
8 years, 5 months ago (2012-06-27 04:42:05 UTC) #11
not at google - send to devlin
https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm File chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (right): https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm#newcode87 chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm:87: icon_animation_->RemoveObserver(this); On 2012/06/26 22:59:21, Nico wrote: > This looks ...
8 years, 5 months ago (2012-06-27 06:26:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10559054/47002
8 years, 5 months ago (2012-06-27 06:27:18 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/page_action_controller.h: While running patch -p1 --forward --force; patching file chrome/browser/extensions/page_action_controller.h ...
8 years, 5 months ago (2012-06-27 06:27:20 UTC) #14
Yoyo Zhou
https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/common/extensions/extension_action.cc File chrome/common/extensions/extension_action.cc (right): https://chromiumcodereview.appspot.com/10559054/diff/24001/chrome/common/extensions/extension_action.cc#newcode278 chrome/common/extensions/extension_action.cc:278: base::WeakPtr<ExtensionAction::IconAnimation> ExtensionAction::GetIconAnimation( On 2012/06/27 06:26:54, kalman wrote: > On ...
8 years, 5 months ago (2012-06-27 06:28:25 UTC) #15
not at google - send to devlin
Oh I see. They're in the same order as they are in the header file, ...
8 years, 5 months ago (2012-06-27 06:29:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10559054/42003
8 years, 5 months ago (2012-06-27 06:35:35 UTC) #17
commit-bot: I haz the power
Try job failure for 10559054-42003 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-27 06:56:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10559054/48016
8 years, 5 months ago (2012-06-27 07:33:30 UTC) #19
commit-bot: I haz the power
8 years, 5 months ago (2012-06-27 09:35:02 UTC) #20
Change committed as 144426

Powered by Google App Engine
This is Rietveld 408576698