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

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: . 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 0daca2ac06a57d5ea9124208b2b35896beebfc12..0531f0ac07aa9b58418c972136b3f278ce829782 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -337,8 +337,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[];

Powered by Google App Engine
This is Rietveld 408576698