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

Unified Diff: chrome/browser/resources/ntp4/apps_page.js

Issue 8662051: retry r112077 - recently closed menu: respect middle click (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/resources/ntp4/recently_closed.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/apps_page.js
diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js
index aff343f09984b9e3874649c2c42460346f41b955..77c076f63e1d236bcb0c75f0672738d09bc36a64 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -446,7 +446,7 @@ cr.define('ntp4', function() {
chrome.send('launchApp',
[this.appId, APP_LAUNCH.NTP_APPS_MAXIMIZED, url,
- e.altKey, e.ctrlKey, e.metaKey, e.shiftKey, e.button]);
+ e.button, e.altKey, e.ctrlKey, e.metaKey, e.shiftKey]);
// Don't allow the click to trigger a link or anything
e.preventDefault();
@@ -461,7 +461,7 @@ cr.define('ntp4', function() {
if (e.keyIdentifier == 'Enter') {
chrome.send('launchApp',
[this.appId, APP_LAUNCH.NTP_APPS_MAXIMIZED, '',
- e.altKey, e.ctrlKey, e.metaKey, e.shiftKey, 0]);
+ 0, e.altKey, e.ctrlKey, e.metaKey, e.shiftKey]);
e.preventDefault();
e.stopPropagation();
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/recently_closed.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698