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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.h

Issue 1962053002: Allow expensive task blocking if there is pending iframe navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use an enum Created 4 years, 7 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: third_party/WebKit/Source/core/loader/NavigationScheduler.h
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.h b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
index 4e14f76355066a456e83328756bb46bde64ede3f..b3ce2f54d134b00ebeb7359072bf9ae0bca0bed5 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "public/platform/WebScheduler.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/Noncopyable.h"
@@ -87,6 +88,7 @@ private:
Member<LocalFrame> m_frame;
OwnPtr<CancellableTaskFactory> m_navigateTaskFactory;
Member<ScheduledNavigation> m_redirect;
+ WebScheduler::NavigatingFrameType m_frameType; // Exists because we can't deref m_frame in destructor.
};
class NavigationDisablerForBeforeUnload {
« no previous file with comments | « content/test/fake_renderer_scheduler.cc ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698