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

Unified Diff: chrome/common/notification_type.h

Issue 3436002: Add the onBeforeNavigate and onErrorOccured events to the webNavigation API. (Closed)
Patch Set: updates Created 10 years, 3 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/notification_type.h
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index fa1febb79e463b47771e859ac392b1b9eac1dbc8..f502a007992f146f412f0eda81802ca79a0f432e 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -103,10 +103,17 @@ class NotificationType {
// A frame is staring a provisional load. The source is a
// Source<NavigationController> corresponding to the tab in which the load
- // occurs. Details is a bool specifying if the load occurs in the main
- // frame (or a sub-frame if false).
+ // occurs. Details is a ProvisionalLoadDetails object.
FRAME_PROVISIONAL_LOAD_START,
+ // The provisional load for a frame was committed. The source is a
+ // NavigationController corresponding to the tab in which the load occured.
+ // Details is a ProvisionalLoadDetails object. In contrast to
+ // NAV_ENTRY_COMMITTED, this notification is sent when the load was
+ // committed, even if no navigation entry was committed (such as
+ // AUTO_SUBFRAME navigations).
+ FRAME_PROVISIONAL_LOAD_COMMITTED,
+
// Content was loaded from an in-memory cache. The source will be a
// Source<NavigationController> corresponding to the tab in which the load
// occurred. Details in the form of a LoadFromMemoryCacheDetails object
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/test/data/extensions/api_test/webnavigation/navigation/test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698