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

Side by Side Diff: chrome/test/data/extensions/platform_apps/web_view/pointerlock/embedder.js

Issue 306823002: Flip --enable-apps-show-on-first-paint flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tests Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/data/extensions/platform_apps/web_view/pointerlock/embedder.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = {}; 5 var embedder = {};
6 embedder.test = {}; 6 embedder.test = {};
7 embedder.triggerNavUrl = 7 embedder.triggerNavUrl =
8 'data:text/html,<html><body>trigger navigation<body></html>'; 8 'data:text/html,<html><body>trigger navigation<body></html>';
9 9
10 window.runTest = function(testName) { 10 window.runTest = function(testName) {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 webview1.setAttribute('src', embedder.triggerNavUrl); 120 webview1.setAttribute('src', embedder.triggerNavUrl);
121 webview2.setAttribute('src', embedder.triggerNavUrl); 121 webview2.setAttribute('src', embedder.triggerNavUrl);
122 document.body.appendChild(webview1); 122 document.body.appendChild(webview1);
123 document.body.appendChild(webview2); 123 document.body.appendChild(webview2);
124 } 124 }
125 125
126 embedder.test.testList = { 126 embedder.test.testList = {
127 'testPointerLockLostWithFocus': testPointerLockLostWithFocus, 127 'testPointerLockLostWithFocus': testPointerLockLostWithFocus,
128 }; 128 };
129 129
130 onload = function() { 130 chrome.app.window.current().onWindowFirstShown.addListener(function() {
131 chrome.test.getConfig(function(config) { 131 chrome.test.getConfig(function(config) {
132 chrome.test.sendMessage('Launched'); 132 chrome.test.sendMessage('Launched');
133 }); 133 });
134 }; 134 });
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/platform_apps/web_view/pointerlock/embedder.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698