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

Unified Diff: extensions/common/api/app_window.idl

Issue 976563002: Mark chrome.app.window resizeTo and moveTo as deprecated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/app_window.idl
diff --git a/extensions/common/api/app_window.idl b/extensions/common/api/app_window.idl
index 18247037a781c4c7efc1bf03d9c39a4faef0dedd..04c8a43af26b528b951784297c11a58f44fe6cbf 100644
--- a/extensions/common/api/app_window.idl
+++ b/extensions/common/api/app_window.idl
@@ -331,10 +331,10 @@ namespace app.window {
static void restore();
// Move the window to the position (|left|, |top|).
- static void moveTo(long left, long top);
+ [deprecated="Use outerBounds."] static void moveTo(long left, long top);
// Resize the window to |width|x|height| pixels in size.
- static void resizeTo(long width, long height);
+ [deprecated="Use outerBounds."] static void resizeTo(long width, long height);
// Draw attention to the window.
static void drawAttention();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698