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

Side by Side Diff: chrome/test/data/extensions/platform_apps/geometry/test.js

Issue 10871087: GTK implementation of remembering platform app window geometry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change the polling loop and its comment a bit Created 8 years, 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 chrome.app.runtime.onLaunched.addListener(function() {
6 chrome.app.window.create('page1.html',
7 {'id': 'test', 'defaultLeft': 113, 'defaultTop': 117,
8 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'},
9 function () {});
10
11 chrome.test.sendMessage('WaitForPage2', function(response) {
12 chrome.app.window.create('page2.html',
13 {'id': 'test', 'defaultLeft': 113, 'defaultTop': 117,
14 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'},
15 function () {});
16 });
17
18 chrome.test.sendMessage('WaitForPage3', function(response) {
19 chrome.app.window.create('page3.html',
20 {'id': 'test', 'left': 201, 'top': 220,
21 'defaultWidth': 314, 'defaultHeight': 271, 'frame': 'none'},
22 function () {});
23 });
24
25 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698