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

Unified Diff: extensions/common/constants.h

Issue 2105033003: tabId support to chrome.extensions.getViews() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor followup to patch 5 Created 4 years, 5 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: extensions/common/constants.h
diff --git a/extensions/common/constants.h b/extensions/common/constants.h
index a0fff0c3e93581f69664a74277ccd48b6aceb3bb..185ab79d0146dd89d9de725daa9c9ea3c29e691e 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -170,6 +170,9 @@ enum LaunchContainer {
namespace extension_misc {
+// Matches chrome.tabs.TAB_ID_NONE.
+const int kUnknownTabId = -1;
+
// Matches chrome.windows.WINDOW_ID_NONE.
const int kUnknownWindowId = -1;
« no previous file with comments | « chrome/test/data/extensions/api_test/get_views/test.js ('k') | extensions/renderer/extension_frame_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698