| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 1977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1988 return frame()->loader().stateMachine()->isDisplayingInitialEmptyDocument()
|| frame()->loader().provisionalDocumentLoader() || !frame()->document()->loadEv
entFinished(); | 1988 return frame()->loader().stateMachine()->isDisplayingInitialEmptyDocument()
|| frame()->loader().provisionalDocumentLoader() || !frame()->document()->loadEv
entFinished(); |
| 1989 } | 1989 } |
| 1990 | 1990 |
| 1991 bool WebLocalFrameImpl::isResourceLoadInProgress() const | 1991 bool WebLocalFrameImpl::isResourceLoadInProgress() const |
| 1992 { | 1992 { |
| 1993 if (!frame() || !frame()->document()) | 1993 if (!frame() || !frame()->document()) |
| 1994 return false; | 1994 return false; |
| 1995 return frame()->document()->fetcher()->requestCount(); | 1995 return frame()->document()->fetcher()->requestCount(); |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 bool WebLocalFrameImpl::isNavigationScheduled() const | 1998 bool WebLocalFrameImpl::isNavigationScheduledWithin(double intervalInSeconds) co
nst |
| 1999 { | 1999 { |
| 2000 return frame() && frame()->navigationScheduler().isNavigationScheduled(); | 2000 return frame() && frame()->navigationScheduler().isNavigationScheduledWithin
(intervalInSeconds); |
| 2001 } | 2001 } |
| 2002 | 2002 |
| 2003 void WebLocalFrameImpl::setCommittedFirstRealLoad() | 2003 void WebLocalFrameImpl::setCommittedFirstRealLoad() |
| 2004 { | 2004 { |
| 2005 ASSERT(frame()); | 2005 ASSERT(frame()); |
| 2006 ensureFrameLoaderHasCommitted(frame()->loader()); | 2006 ensureFrameLoaderHasCommitted(frame()->loader()); |
| 2007 } | 2007 } |
| 2008 | 2008 |
| 2009 void WebLocalFrameImpl::sendOrientationChangeEvent() | 2009 void WebLocalFrameImpl::sendOrientationChangeEvent() |
| 2010 { | 2010 { |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 return WebSandboxFlags::None; | 2188 return WebSandboxFlags::None; |
| 2189 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2189 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
| 2190 } | 2190 } |
| 2191 | 2191 |
| 2192 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2192 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
| 2193 { | 2193 { |
| 2194 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2194 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
| 2195 } | 2195 } |
| 2196 | 2196 |
| 2197 } // namespace blink | 2197 } // namespace blink |
| OLD | NEW |