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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 2553673003: [Merge to M55] Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 684c40b81ee0b86a46e5b1472bd45b06a6615cbf..e546ef636ff7d76ed6bfbe56277cbed8c83f7968 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -857,7 +857,10 @@ cr.define('options', function() {
});
$('android-apps-settings-link').addEventListener('click', function(e) {
- chrome.send('showAndroidAppsSettings');
+ // MouseEvent.detail indicates the current click count (or tap
+ // count, in the case of touch events) in the 'click' event.
+ var activatedFromKeyboard = e.detail == 0;
+ chrome.send('showAndroidAppsSettings', [activatedFromKeyboard]);
});
}
},
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698