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

Side by Side Diff: chrome/test/data/chromeos/demo_app/js/background.js

Issue 205713002: Add a basic demo mode browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/chromeos/demo_app/html/background.html ('k') | chromeos/chromeos_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /**
2 * Copyright 2014 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 chrome.app.runtime.onLaunched.addListener(function() {
8 console.log('Demo app launched.');
xiyuan 2014/03/20 21:59:44 nit: This might not be needed though since no one
rkc 2014/03/20 22:04:45 Done.
9 chrome.app.window.create('html/background.html', {'state': 'fullscreen'},
10 function() {
11 console.log('Demo app window created.');
12 chrome.test.sendMessage('launchedDemoApp');
13 });
14 });
OLDNEW
« no previous file with comments | « chrome/test/data/chromeos/demo_app/html/background.html ('k') | chromeos/chromeos_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698