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

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

Issue 11363250: Allow Chrome apps to create Ash Panels (apps v2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac and win builds Created 8 years 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/chrome_browser_ui.gypi ('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 (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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Minimum height of the window. 43 // Minimum height of the window.
44 long? minHeight; 44 long? minHeight;
45 45
46 // Maximum width of the window. 46 // Maximum width of the window.
47 long? maxWidth; 47 long? maxWidth;
48 48
49 // Maximum height of the window. 49 // Maximum height of the window.
50 long? maxHeight; 50 long? maxHeight;
51 51
52 // Window type: 'shell' (the default) is the only currently supported value. 52 // Window type:
53 // 'shell' - the default window type
54 // 'panel' - a panel, managed by the OS (Currently experimental, Ash only)
53 [nodoc] DOMString? type; 55 [nodoc] DOMString? type;
54 56
55 // Frame type: 'none' or 'chrome' (defaults to 'chrome'). 57 // Frame type: 'none' or 'chrome' (defaults to 'chrome').
56 DOMString? frame; 58 DOMString? frame;
57 59
58 // Size of the content in the window (excluding the titlebar). If specified 60 // Size of the content in the window (excluding the titlebar). If specified
59 // in addition to any of the left/top/width/height parameters, this field 61 // in addition to any of the left/top/width/height parameters, this field
60 // takes precedence. If a frameBounds is specified, the frameBounds take 62 // takes precedence. If a frameBounds is specified, the frameBounds take
61 // precedence. 63 // precedence.
62 Bounds? bounds; 64 Bounds? bounds;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 optional CreateWindowCallback callback); 157 optional CreateWindowCallback callback);
156 158
157 // Returns an <a href="#type-AppWindow">AppWindow</a> object for the 159 // Returns an <a href="#type-AppWindow">AppWindow</a> object for the
158 // current script context (ie JavaScript 'window' object). This can also be 160 // current script context (ie JavaScript 'window' object). This can also be
159 // called on a handle to a script context for another page, for example: 161 // called on a handle to a script context for another page, for example:
160 // otherWindow.chrome.app.window.current(). 162 // otherWindow.chrome.app.window.current().
161 [nocompile] static AppWindow current(); 163 [nocompile] static AppWindow current();
162 [nocompile, nodoc] static void initializeAppWindow(object state); 164 [nocompile, nodoc] static void initializeAppWindow(object state);
163 }; 165 };
164 }; 166 };
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698