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

Side by Side Diff: extensions/test/data/web_view/dialog/inject_dialog.js

Issue 634403003: Adding webview tests to app_shell_browsertest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 embedder = null; 5 var embedder = null;
6 6
7 function reportConnected() { 7 function reportConnected() {
8 var msg = ['connected']; 8 var msg = ['connected'];
9 embedder.postMessage(JSON.stringify(msg), '*'); 9 embedder.postMessage(JSON.stringify(msg), '*');
10 } 10 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 break; 46 break;
47 } 47 }
48 case 'start-prompt-dialog-test': { 48 case 'start-prompt-dialog-test': {
49 var messageText = data[1]; 49 var messageText = data[1];
50 var defaultPromptText = data[2]; 50 var defaultPromptText = data[2];
51 reportPromptDialogResult(messageText, defaultPromptText); 51 reportPromptDialogResult(messageText, defaultPromptText);
52 break; 52 break;
53 } 53 }
54 } 54 }
55 }); 55 });
OLDNEW
« no previous file with comments | « extensions/test/data/web_view/dialog/embedder.js ('k') | extensions/test/data/web_view/dialog/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698