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

Side by Side Diff: chrome/test/data/banners/appinstalled_test_page.html

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Blink style. 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>appinstalled event test page</title>
5 <script>
6 function onAppInstalled() {
7 window.document.title = 'Got appinstalled';
8 }
9
10 window.addEventListener('load', () => {
11 window.addEventListener('appinstalled', onAppInstalled);
12 });
13 </script>
14 </head>
15 <body>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698