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

Unified Diff: chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js

Issue 960133005: Correctly handle tab navigation in the app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_sorting_order
Patch Set: address comments Created 5 years, 10 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/test/data/extensions/platform_apps/custom_launcher_page/main.js
diff --git a/chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js b/chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js
index bd16ca65576c3e0474bc231c5557f4082119e43e..ce4fdc07ac7132465ed16042a902cded91dc09a0 100644
--- a/chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js
+++ b/chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js
@@ -31,4 +31,15 @@ function enableCustomLauncherPage() {
});
}
-chrome.test.sendMessage('Launched');
+document.addEventListener('DOMContentLoaded', function() {
+ chrome.test.sendMessage('Launched');
+});
+
+var textfield = document.getElementById('textfield');
+textfield.onfocus = function() {
+ chrome.test.sendMessage('textfieldFocused');
+};
+
+textfield.onblur = function() {
+ chrome.test.sendMessage('textfieldBlurred');
+};
« no previous file with comments | « chrome/test/data/extensions/platform_apps/custom_launcher_page/main.html ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698