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

Issue 1781563003: chrome.browserAction.setBadgeBackgroundColor accepts color keyword (Closed)

Created:
4 years, 9 months ago by limasdf
Modified:
4 years, 9 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chrome.browserAction.setBadgeBackgroundColor accepts color keyword Accepts color keyword like 'black', 'blue' from setBadgeBackgroundColor. Also, if unable to parse color string, returns proper error message TEST=browser_tests --gtest_filter=BrowserActionApiTest.BadgeBackgroundColor extensions_unittests --gtest_filter=ImageUtilTest.* BUG=593194 Committed: https://crrev.com/2fc1c838798d0c76f1c135f1791d3989ab7a2b01 Cr-Commit-Position: refs/heads/master@{#380386}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1 line) Patch
M chrome/browser/extensions/api/extension_action/browser_action_apitest.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_action_api.cc View 2 chunks +5 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/color/update4.html View 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/browser_action/color/update4.js View 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/common/image_util.cc View 2 chunks +6 lines, -0 lines 1 comment Download
M extensions/common/image_util_unittest.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
limasdf
Hey Devlin. PTAL when you have time.
4 years, 9 months ago (2016-03-09 14:46:49 UTC) #3
limasdf
One question, Will it be possible to use third_party/Webkit/ 's CSS color parser? Probably, we ...
4 years, 9 months ago (2016-03-09 15:32:35 UTC) #4
Devlin
lgtm if you wanna go ahead with this. If you want to explore using the ...
4 years, 9 months ago (2016-03-09 17:52:20 UTC) #5
limasdf
Thanks for the review! Let's merge. This CL looks enough. Webkit parser lives in third_party/WebKit/Source/core/css/parser/ ...
4 years, 9 months ago (2016-03-10 09:30:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1781563003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1781563003/1
4 years, 9 months ago (2016-03-10 09:31:30 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-10 11:14:42 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 11:15:43 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2fc1c838798d0c76f1c135f1791d3989ab7a2b01
Cr-Commit-Position: refs/heads/master@{#380386}

Powered by Google App Engine
This is Rietveld 408576698