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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc

Issue 10692097: Introduce webNavigation.onTabReplaced event that is fired when a tab from instant or prerender repl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 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: chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc
index 1696526b1fe3242893022ce100d6fa527d34625f..dc68fb6ff07a9db1c357c7cdc1d7613e6c022a4f 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.cc
@@ -10,6 +10,7 @@ namespace web_navigation_api_constants {
const char kErrorKey[] = "error";
const char kFrameIdKey[] = "frameId";
+const char kReplacedTabIdKey[] = "replacedTabId";
const char kSourceTabIdKey[] = "sourceTabId";
const char kSourceFrameIdKey[] = "sourceFrameId";
const char kTabIdKey[] = "tabId";
@@ -28,6 +29,7 @@ const char kOnDOMContentLoaded[] =
const char kOnErrorOccurred[] = "webNavigation.onErrorOccurred";
const char kOnReferenceFragmentUpdated[] =
"webNavigation.onReferenceFragmentUpdated";
+const char kOnTabReplaced[] = "webNavigation.onTabReplaced";
} // namespace web_navigation_api_constants

Powered by Google App Engine
This is Rietveld 408576698