Chromium Code Reviews| Index: chrome/browser/resources/ntp4/new_tab.js |
| diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
| index 00e92414bf80a3c127507657b145ce9f050d002f..ef0d19c0d4343802ae96a90e2d6ffa67c56f114d 100644 |
| --- a/chrome/browser/resources/ntp4/new_tab.js |
| +++ b/chrome/browser/resources/ntp4/new_tab.js |
| @@ -150,7 +150,8 @@ cr.define('ntp4', function() { |
| chrome.send('initializeLogin'); |
| $('login-container').addEventListener('click', function() { |
| - chrome.send('loginContainerClicked'); |
| + var rect = $('login-container').getBoundingClientRect(); |
| + chrome.send('loginContainerClicked', [rect.right, rect.bottom]); |
|
arv (Not doing code reviews)
2011/10/03 17:06:09
Don't you want to send the entire rect here? RTL a
sail
2011/10/03 18:46:03
Done.
I've also filed http://crbug.com/98884 about
|
| }); |
| // Prevent touch events from triggering any sort of native scrolling |