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

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

Issue 10704225: Send an webNavigation event for navigations triggered by window.history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 dc68fb6ff07a9db1c357c7cdc1d7613e6c022a4f..af5e1b8e8179122a307c66b9ec04f466d4c49a21 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
@@ -26,6 +26,7 @@ const char kOnCreatedNavigationTarget[] =
"webNavigation.onCreatedNavigationTarget";
const char kOnDOMContentLoaded[] =
"webNavigation.onDOMContentLoaded";
+const char kOnHistoryStateUpdated[] = "webNavigation.onHistoryStateUpdated";
const char kOnErrorOccurred[] = "webNavigation.onErrorOccurred";
const char kOnReferenceFragmentUpdated[] =
"webNavigation.onReferenceFragmentUpdated";

Powered by Google App Engine
This is Rietveld 408576698