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

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: Sync and rebase Created 7 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 // 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 static void setAlwaysOnTop(boolean always_on_top); 47 static void setAlwaysOnTop(boolean always_on_top);
44 }; 48 };
45 49
46 interface Events { 50 interface Events {
47 static void onClosed(); 51 static void onClosed();
48 static void onBoundsChanged(); 52 static void onBoundsChanged();
49 static void onFullscreened(); 53 static void onFullscreened();
50 static void onMinimized(); 54 static void onMinimized();
51 static void onMaximized(); 55 static void onMaximized();
52 static void onRestored(); 56 static void onRestored();
53 }; 57 };
54 }; 58 };
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_histogram_value.h ('k') | chrome/common/extensions/api/app_window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698