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

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

Issue 13609003: fullscreen in apps v2 ShellWindow via app.window.create. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 // This is used by the app window API internally to pass through messages to 5 // This is used by the app window API internally to pass through messages to
6 // the shell window. 6 // the shell window.
7 [nodoc] namespace app.currentWindowInternal { 7 [nodoc] namespace app.currentWindowInternal {
8 8
9 // TODO(asargent) - We need to add support for referencing types in 9 // TODO(asargent) - We need to add support for referencing types in
10 // other namespaces (crbug.com/158654). For now just duplicate this 10 // other namespaces (crbug.com/158654). For now just duplicate this
11 // dictionary from app.window. 11 // dictionary from app.window.
12 dictionary Bounds { 12 dictionary Bounds {
13 long? left; 13 long? left;
14 long? top; 14 long? top;
15 long? width; 15 long? width;
16 long? height; 16 long? height;
17 }; 17 };
18 18
19 19
20 interface Functions { 20 interface Functions {
21 static void focus(); 21 static void focus();
22 static void fullscreen();
jeremya 2013/04/05 20:00:35 I've forgotten why we decided that having an apps-
scheib 2013/04/05 21:47:52 https://code.google.com/p/chromium/issues/detail?i
jeremya 2013/04/08 17:13:54 #1 and #2 could be fixed with a judicious blink ch
22 static void minimize(); 23 static void minimize();
23 static void maximize(); 24 static void maximize();
24 static void restore(); 25 static void restore();
25 static void drawAttention(); 26 static void drawAttention();
26 static void clearAttention(); 27 static void clearAttention();
27 static void show(); 28 static void show();
28 static void hide(); 29 static void hide();
29 static void setBounds(Bounds bounds); 30 static void setBounds(Bounds bounds);
30 static void setIcon(DOMString icon_url); 31 static void setIcon(DOMString icon_url);
31 }; 32 };
32 33
33 interface Events { 34 interface Events {
34 static void onClosed(); 35 static void onClosed();
35 static void onBoundsChanged(); 36 static void onBoundsChanged();
36 static void onFullscreened(); 37 static void onFullscreened();
37 static void onMinimized(); 38 static void onMinimized();
38 static void onMaximized(); 39 static void onMaximized();
39 static void onRestored(); 40 static void onRestored();
40 }; 41 };
41 }; 42 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698