[Extensions] Allow setBadgeText to remove tab specific badge text
This CL makes the "text" param in chrome.browserAction.setBadgeText optional. Setting text to be null (or not specifying it) removes the explicitly set badge text for a given tab. The tab's badge text will then be removed, or will show the default non-tab-specific badge text if set. Bug: 1002961 Change-Id: I7f9f4ef2ac3187fff0b06455fd4abcc1db0a5143 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067641 Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#748366}
Showing
Please register or sign in to comment