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

Unified Diff: chrome/common/extensions/extension_constants.h

Issue 9162002: Query the current window with chrome.tabs.query using -1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 years, 11 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/extension_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 82fb317d1fd6dd2b8c8a3f0e57283b27ca0611e7..177454bbd23f8d309a54be0ecc9a53f4309d9a13 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -328,8 +328,12 @@ namespace extension_filenames {
}
namespace extension_misc {
+ // Matches chrome.windows.WINDOW_ID_NONE.
const int kUnknownWindowId = -1;
+ // Matches chrome.windows.WINDOW_ID_CURRENT.
+ const int kCurrentWindowId = -2;
+
// The extension id of the bookmark manager.
extern const char kBookmarkManagerId[];
« no previous file with comments | « chrome/common/extensions/docs/windows.html ('k') | chrome/renderer/resources/extensions/schema_generated_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698