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

Issue 475813004: Clean up NOTIFICATION_EXTENSION_PAGE_ACTION_[ COUNT | VISIBILITY ]_CHANGED (Closed)

Created:
6 years, 4 months ago by Devlin
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Clean up NOTIFICATION_EXTENSION_PAGE_ACTION_[ COUNT | VISIBILITY ]_CHANGED Remove the unneeded PAGE_ACTION_COUNT_CHANGED notification. Replace the PAGE_ACTION_VISIBILITY_CHANGED notification with a PAGE_ACTIONS_UPDATED notification, which is sent once per update (instead of once per page action). Added bonuses: - consistent notification behavior across cocoa/views - less cruft in ui code BUG=405356 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291097

Patch Set 1 #

Patch Set 2 : Mac Compile Fix #

Total comments: 4

Patch Set 3 : Sky's #

Patch Set 4 : Latest master for CQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -91 lines) Patch
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_test_notification_observer.cc View 3 chunks +1 line, -18 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/location_bar_controller.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/page_action_browsertest.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 3 chunks +3 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 1 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 chunks +3 lines, -37 lines 0 comments Download
M extensions/browser/notification_types.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Devlin
All, please take a look. finnur@ - extensions sky@ - views avi@ - cocoa Cheers! ...
6 years, 4 months ago (2014-08-20 00:26:13 UTC) #1
Avi (use Gerrit)
https://codereview.chromium.org/475813004/diff/20001/chrome/browser/extensions/location_bar_controller.cc File chrome/browser/extensions/location_bar_controller.cc (right): https://codereview.chromium.org/475813004/diff/20001/chrome/browser/extensions/location_bar_controller.cc#newcode95 chrome/browser/extensions/location_bar_controller.cc:95: content::NotificationService::NoDetails()); We're trying to kill off notifications. Overall this ...
6 years, 4 months ago (2014-08-20 01:06:53 UTC) #2
Devlin
https://codereview.chromium.org/475813004/diff/20001/chrome/browser/extensions/location_bar_controller.cc File chrome/browser/extensions/location_bar_controller.cc (right): https://codereview.chromium.org/475813004/diff/20001/chrome/browser/extensions/location_bar_controller.cc#newcode95 chrome/browser/extensions/location_bar_controller.cc:95: content::NotificationService::NoDetails()); On 2014/08/20 01:06:52, Avi wrote: > We're trying ...
6 years, 4 months ago (2014-08-20 03:21:00 UTC) #3
Avi (use Gerrit)
OK, gotcha. This LGTM.
6 years, 4 months ago (2014-08-20 03:52:27 UTC) #4
Finnur
LGTM > We're trying to kill off notifications. And, with this CL he's killing off ...
6 years, 4 months ago (2014-08-20 12:48:04 UTC) #5
sky
https://codereview.chromium.org/475813004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/475813004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1203 chrome/browser/ui/views/location_bar/location_bar_view.cc:1203: changed = old_visibility != (*i)->visible() ? true : changed; ...
6 years, 4 months ago (2014-08-20 15:45:30 UTC) #6
Devlin
https://codereview.chromium.org/475813004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): https://codereview.chromium.org/475813004/diff/20001/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1203 chrome/browser/ui/views/location_bar/location_bar_view.cc:1203: changed = old_visibility != (*i)->visible() ? true : changed; ...
6 years, 4 months ago (2014-08-20 15:54:49 UTC) #7
sky
LGTM
6 years, 4 months ago (2014-08-20 16:00:14 UTC) #8
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 4 months ago (2014-08-20 21:42:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/475813004/100001
6 years, 4 months ago (2014-08-20 21:45:21 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-20 23:11:56 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 23:15:37 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/55240)
6 years, 4 months ago (2014-08-20 23:15:38 UTC) #13
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 4 months ago (2014-08-20 23:29:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/475813004/100001
6 years, 4 months ago (2014-08-20 23:31:46 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-20 23:50:42 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 23:54:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/55296)
6 years, 4 months ago (2014-08-20 23:54:40 UTC) #18
Devlin
The CQ bit was checked by rdevlin.cronin@chromium.org
6 years, 4 months ago (2014-08-21 14:07:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/475813004/100001
6 years, 4 months ago (2014-08-21 14:08:13 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 16:46:17 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (100001) as 291097

Powered by Google App Engine
This is Rietveld 408576698