Searched refs:s_navigationDisableCount (Results 1 – 2 of 2) sorted by relevance
58 s_navigationDisableCount++; in NavigationDisablerForBeforeUnload()62 ASSERT(s_navigationDisableCount); in ~NavigationDisablerForBeforeUnload()63 s_navigationDisableCount--; in ~NavigationDisablerForBeforeUnload()65 static bool isNavigationAllowed() { return !s_navigationDisableCount; } in isNavigationAllowed()68 static unsigned s_navigationDisableCount;
54 unsigned NavigationDisablerForBeforeUnload::s_navigationDisableCount = 0; member in WebCore::NavigationDisablerForBeforeUnload