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

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

Issue 10986092: Transparent apps support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix author email Created 8 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 | 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 namespace app.window { 5 namespace app.window {
6 dictionary CreateWindowOptions { 6 dictionary CreateWindowOptions {
7 // Id to identify the window. This will be used to remember the size 7 // Id to identify the window. This will be used to remember the size
8 // and position of the window and restore that geometry when a window 8 // and position of the window and restore that geometry when a window
9 // with the same id (and no explicit size or position) is later opened. 9 // with the same id (and no explicit size or position) is later opened.
10 DOMString? id; 10 DOMString? id;
(...skipping 30 matching lines...) Expand all
41 41
42 // Maximum width of the window. 42 // Maximum width of the window.
43 long? maxWidth; 43 long? maxWidth;
44 44
45 // Maximum height of the window. 45 // Maximum height of the window.
46 long? maxHeight; 46 long? maxHeight;
47 47
48 // Window type: 'shell' (the default) is the only currently supported value. 48 // Window type: 'shell' (the default) is the only currently supported value.
49 DOMString? type; 49 DOMString? type;
50 50
51 // Frame type: 'none' or 'chrome' (defaults to 'chrome'). 51 // EXPERIMENTAL: Frame type: 'none' or 'chrome' (defaults to 'chrome').
Mihai Parparita -not on Chrome 2012/09/28 19:15:34 This isn't an experimental option.
Bernie 2012/10/10 21:05:01 What I meant to say is that this option requires t
52 DOMString? frame; 52 DOMString? frame;
53
54 // EXPERIMENTAL: Enable window background transparency.
55 boolean? transparentBackground;
jeremya 2012/10/04 22:12:56 Can you add that it's only supported on ash?
Bernie 2012/10/10 21:05:01 Done.
53 }; 56 };
54 57
55 callback CreateWindowCallback = 58 callback CreateWindowCallback =
56 void ([instanceOf=AppWindow] object created_window); 59 void ([instanceOf=AppWindow] object created_window);
57 60
58 dictionary AppWindow { 61 dictionary AppWindow {
59 // Focus the window. 62 // Focus the window.
60 static void focus(); 63 static void focus();
61 64
62 // Minimize the window. 65 // Minimize the window.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // If you specify both a regular and a default value for the same option 108 // If you specify both a regular and a default value for the same option
106 // the regular value is the only one that takes effect. 109 // the regular value is the only one that takes effect.
107 static void create(DOMString url, 110 static void create(DOMString url,
108 optional CreateWindowOptions options, 111 optional CreateWindowOptions options,
109 optional CreateWindowCallback callback); 112 optional CreateWindowCallback callback);
110 113
111 [nocompile] static AppWindow current(); 114 [nocompile] static AppWindow current();
112 [nocompile, nodoc] static void initializeAppWindow(object state); 115 [nocompile, nodoc] static void initializeAppWindow(object state);
113 }; 116 };
114 }; 117 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698