New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 737814 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature



Sign in to add a comment

Add a callback to notify the selection of the default options

Reported by ltian@chromium.org, Jun 29 2017

Issue description

Browser Actions support library needs to have a way to notify the 3rd party apps which item is selected if users choose if from the default menus.




 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 28 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9a650335461f853e79328d0d173361f3731b7547

commit 9a650335461f853e79328d0d173361f3731b7547
Author: ltian <ltian@chromium.org>
Date: Thu Jul 27 23:59:41 2017

Send a callback to notify which default menu item is chosen in Browser Actions

This CL parses a new PendingIntent from BrowserActionsIntent as a
callback if any default menu item is chosen in Browser Actions. Once a
default menu item is chosen, Chrome adds its menuId to the PendigIntent
and then sends it out to notify the 3rd party app.

BUG= 737814 

Review-Url: https://codereview.chromium.org/2963903002
Cr-Commit-Position: refs/heads/master@{#490143}

[modify] https://crrev.com/9a650335461f853e79328d0d173361f3731b7547/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionActivity.java
[modify] https://crrev.com/9a650335461f853e79328d0d173361f3731b7547/chrome/android/java/src/org/chromium/chrome/browser/browseractions/BrowserActionsContextMenuHelper.java

Comment 2 by ltian@chromium.org, Sep 21 2017

Status: Fixed (was: Assigned)

Sign in to add a comment