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

Unified Diff: chrome/browser/resources/local_ntp/local_ntp.js

Issue 14646034: Add onfocuschange to the Extended Search API, with associated isFocused attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using KeyCaptureChange IPC for notification of focus change, and checking if it really changed in t… Created 7 years, 7 months 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
Index: chrome/browser/resources/local_ntp/local_ntp.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js
index efa4650d00d5b54b85c9ae96826e184001e9d0fa..ca4fed04715a54abff4fc990bd1c705eadbe4503 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.js
+++ b/chrome/browser/resources/local_ntp/local_ntp.js
@@ -1672,6 +1672,7 @@ function init() {
searchboxApiHandle.onnativesuggestions = updateSuggestions;
searchboxApiHandle.onchange = updateSuggestions;
searchboxApiHandle.onkeypress = handleKeyPress;
+ // TODO(donnd): consider adding an onfocuschange handler.
samarth 2013/05/13 20:56:53 Not need to add a TODO here. I don't see a good r
Donn Denman 2013/05/13 23:44:50 Done.
// TODO(jered): Re-enable this after http://crbug.com/236492 is fixed.
// searchboxApiHandle.onmarginchange = setSuggestionStyles;
if (window.innerWidth > 0) {
« no previous file with comments | « no previous file | chrome/browser/ui/omnibox/omnibox_edit_model.h » ('j') | chrome/browser/ui/search/instant_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698