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

Side by Side Diff: extensions/test/data/web_view/accept_touch_events/guest.js

Issue 639693005: Adding more webview browser tests to app_shell_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var LOG = function(msg) { 5 var LOG = function(msg) {
6 window.console.log(msg); 6 window.console.log(msg);
7 }; 7 };
8 8
9 var touchDiv; 9 var touchDiv;
10 var embedder; 10 var embedder;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 window.addEventListener('message', function(e) { 43 window.addEventListener('message', function(e) {
44 embedder = e.source; 44 embedder = e.source;
45 var data = JSON.parse(e.data); 45 var data = JSON.parse(e.data);
46 if (data[0] == 'connect') { 46 if (data[0] == 'connect') {
47 sendMessageToEmbedder('connected'); 47 sendMessageToEmbedder('connected');
48 } 48 }
49 }); 49 });
50 50
51 window.onload = init; 51 window.onload = init;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698