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

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

Issue 25449002: Add chrome.app.window.[get|set][Min|Max][Width|Height] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Use ShellWindow::Set[Min|Max]imumSize. Update tests. Created 7 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 // 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
(...skipping 20 matching lines...) Expand all
31 static void focus(); 31 static void focus();
32 static void fullscreen(); 32 static void fullscreen();
33 static void minimize(); 33 static void minimize();
34 static void maximize(); 34 static void maximize();
35 static void restore(); 35 static void restore();
36 static void drawAttention(); 36 static void drawAttention();
37 static void clearAttention(); 37 static void clearAttention();
38 static void show(); 38 static void show();
39 static void hide(); 39 static void hide();
40 static void setBounds(Bounds bounds); 40 static void setBounds(Bounds bounds);
41 static void setMinWidth(optional long minWidth);
42 static void setMinHeight(optional long minHeight);
43 static void setMaxWidth(optional long maxWidth);
44 static void setMaxHeight(optional long maxHeight);
41 static void setIcon(DOMString icon_url); 45 static void setIcon(DOMString icon_url);
42 static void setInputRegion(Region region); 46 static void setInputRegion(Region region);
43 }; 47 };
44 48
45 interface Events { 49 interface Events {
46 static void onClosed(); 50 static void onClosed();
47 static void onBoundsChanged(); 51 static void onBoundsChanged();
48 static void onFullscreened(); 52 static void onFullscreened();
49 static void onMinimized(); 53 static void onMinimized();
50 static void onMaximized(); 54 static void onMaximized();
51 static void onRestored(); 55 static void onRestored();
52 }; 56 };
53 }; 57 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698