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

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: . Created 8 years, 1 month 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 27 matching lines...) Expand all
38 38
39 // Minimum height of the window. 39 // Minimum height of the window.
40 long? minHeight; 40 long? minHeight;
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:
49 // 'shell' - a shell window with just a close button (default)
jeremya 2012/11/15 01:09:25 Shell windows now have minimize/maximize buttons t
stevenjb 2012/11/16 23:42:40 Done.
50 // 'panel' - a panel, managed by the OS (Currently Ash only)
49 [nodoc] DOMString? type; 51 [nodoc] DOMString? type;
50 52
51 // Frame type: 'none' or 'chrome' (defaults to 'chrome'). 53 // Frame type: 'none' or 'chrome' (defaults to 'chrome').
52 DOMString? frame; 54 DOMString? frame;
53 55
54 // Size of the content in the window (excluding the titlebar). If specified 56 // Size of the content in the window (excluding the titlebar). If specified
55 // in addition to any of the left/top/width/height parameters, this field 57 // in addition to any of the left/top/width/height parameters, this field
56 // takes precedence. If a frameBounds is specified, the frameBounds take 58 // takes precedence. If a frameBounds is specified, the frameBounds take
57 // precedence. 59 // precedence.
58 Bounds? bounds; 60 Bounds? bounds;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 optional CreateWindowCallback callback); 143 optional CreateWindowCallback callback);
142 144
143 // Returns an <a href="#type-AppWindow">AppWindow</a> object for the 145 // Returns an <a href="#type-AppWindow">AppWindow</a> object for the
144 // current script context (ie JavaScript 'window' object). This can also be 146 // current script context (ie JavaScript 'window' object). This can also be
145 // called on a handle to a script context for another page, for example: 147 // called on a handle to a script context for another page, for example:
146 // otherWindow.chrome.app.window.current(). 148 // otherWindow.chrome.app.window.current().
147 [nocompile] static AppWindow current(); 149 [nocompile] static AppWindow current();
148 [nocompile, nodoc] static void initializeAppWindow(object state); 150 [nocompile, nodoc] static void initializeAppWindow(object state);
149 }; 151 };
150 }; 152 };
OLDNEW
« chrome/browser/ui/extensions/shell_window.cc ('K') | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698