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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/app_current_window_internal.idl
diff --git a/chrome/common/extensions/api/app_current_window_internal.idl b/chrome/common/extensions/api/app_current_window_internal.idl
index 8ccc3b88f72becce7c737654bde9003ba432fa71..284372cc1e4ad418cfac3f3ad3720cc0765051b8 100644
--- a/chrome/common/extensions/api/app_current_window_internal.idl
+++ b/chrome/common/extensions/api/app_current_window_internal.idl
@@ -38,6 +38,10 @@
static void show();
static void hide();
static void setBounds(Bounds bounds);
+ static void setMinWidth(optional long minWidth);
+ static void setMinHeight(optional long minHeight);
+ static void setMaxWidth(optional long maxWidth);
+ static void setMaxHeight(optional long maxHeight);
static void setIcon(DOMString icon_url);
static void setInputRegion(Region region);
};

Powered by Google App Engine
This is Rietveld 408576698