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

Unified Diff: chrome/browser/extensions/api/web_navigation/frame_navigation_state.h

Issue 13929020: Artifically delay the load finished signal until after dom content loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
diff --git a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
index aac7606be09e183860c7c5edb00fef8f7eb86fc7..d51c28321a78224d9fc8b897746968ecfb4982fe 100644
--- a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
+++ b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.h
@@ -99,6 +99,12 @@ class FrameNavigationState {
// True if the frame is currently not navigating.
bool GetNavigationCompleted(FrameID frame_id) const;
+ // Marks a frame as having finished parsing.
+ void SetParsingFinished(FrameID frame_id);
+
+ // True if the frame has finished parsing.
+ bool GetParsingFinished(FrameID frame_id) const;
+
// Marks a frame as having committed its navigation, i.e. the onCommitted
// event was fired for this frame.
void SetNavigationCommitted(FrameID frame_id);
@@ -128,6 +134,7 @@ class FrameNavigationState {
bool is_navigating; // True if there is a navigation going on.
bool is_committed; // True if the navigation is already committed.
bool is_server_redirected; // True if a server redirect happened.
+ bool is_parsing; // True if the frame is still parsing.
int64 parent_frame_num;
GURL url; // URL of this frame.
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698