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

Unified Diff: chrome/common/extensions/api/app_current_window_internal.idl

Issue 11369039: Add setBounds method and browsertest for get/set bounds to app window API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/app_window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2bf231b456156cb4abe00a4d560c2c467b878ceb..e1a4b3de600da52ecf718c34c105ab3a609c02fe 100644
--- a/chrome/common/extensions/api/app_current_window_internal.idl
+++ b/chrome/common/extensions/api/app_current_window_internal.idl
@@ -5,6 +5,18 @@
// This is used by the app window API internally to pass through messages to
// the shell window.
[internal, nodoc] namespace app.currentWindowInternal {
+
+ // TODO(asargent) - We need to add support for referencing types in
+ // other namespaces (crbug.com/158654). For now just duplicate this
+ // dictionary from app.window.
+ dictionary Bounds {
+ long? left;
+ long? top;
+ long? width;
+ long? height;
+ };
+
+
interface Functions {
static void focus();
static void minimize();
@@ -14,5 +26,6 @@
static void clearAttention();
static void show();
static void hide();
+ static void setBounds(Bounds bounds);
};
};
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/api/app_window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698