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

Side by Side Diff: chrome/common/extensions/api/app_window.idl

Issue 10871086: First part of remembering platform app window geometry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 // File-level comment to appease parser. Eventually this will not be necessary. 5 // File-level comment to appease parser. Eventually this will not be necessary.
6 6
7 namespace app.window { 7 namespace app.window {
8 dictionary CreateWindowOptions { 8 dictionary CreateWindowOptions {
9 // id to identify the window.
10 DOMString? id;
11
12 // Default width of the window.
13 long? defaultWidth;
14
15 // Default height of the window.
16 long? defaultHeight;
17
18 // Default X coordinate of the window.
19 long? defaultLeft;
20
21 // Default Y coordinate of the window.
22 long? defaultTop;
23
asargent_no_longer_on_chrome 2012/08/28 18:49:41 We should add a comment somewhere explaining to de
Marijn Kruisselbrink 2012/08/28 22:14:58 Okay, attempted to write some sort of explanation,
9 // Width of the window. 24 // Width of the window.
10 long? width; 25 long? width;
11 26
12 // Height of the window. 27 // Height of the window.
13 long? height; 28 long? height;
14 29
15 // X coordinate of the window. 30 // X coordinate of the window.
16 long? left; 31 long? left;
17 32
18 // Y coordinate of the window. 33 // Y coordinate of the window.
(...skipping 27 matching lines...) Expand all
46 optional CreateWindowCallback callback); 61 optional CreateWindowCallback callback);
47 62
48 static void focus(); 63 static void focus();
49 static void maximize(); 64 static void maximize();
50 static void minimize(); 65 static void minimize();
51 static void restore(); 66 static void restore();
52 [nocompile] static void moveTo(long x, long y); 67 [nocompile] static void moveTo(long x, long y);
53 [nocompile] static void resizeTo(long width, long height); 68 [nocompile] static void resizeTo(long width, long height);
54 }; 69 };
55 }; 70 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698