Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1289 DCHECK(m_rootScrollerController); | 1289 DCHECK(m_rootScrollerController); |
| 1290 return *m_rootScrollerController; | 1290 return *m_rootScrollerController; |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 bool isInMainFrame() const; | 1293 bool isInMainFrame() const; |
| 1294 | 1294 |
| 1295 void maybeRecordLoadReason(WouldLoadReason); | 1295 void maybeRecordLoadReason(WouldLoadReason); |
| 1296 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } | 1296 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } |
| 1297 | 1297 |
| 1298 PropertyRegistry* propertyRegistry(); | 1298 PropertyRegistry* propertyRegistry(); |
| 1299 const PropertyRegistry* propertyRegistry() const; | |
|
Timothy Loh
2017/01/09 05:07:23
needs a rebase, this exists now :O
alancutter (OOO until 2018)
2017/01/16 00:23:52
Rebased.
| |
| 1299 | 1300 |
| 1300 // Indicates whether the user has interacted with this particular Document. | 1301 // Indicates whether the user has interacted with this particular Document. |
| 1301 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } | 1302 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } |
| 1302 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } | 1303 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } |
| 1303 | 1304 |
| 1304 // Document maintains a counter of visible non-secure password | 1305 // Document maintains a counter of visible non-secure password |
| 1305 // fields in the page. Used to notify the embedder when all visible | 1306 // fields in the page. Used to notify the embedder when all visible |
| 1306 // non-secure passwords fields are no longer visible. | 1307 // non-secure passwords fields are no longer visible. |
| 1307 void incrementPasswordCount(); | 1308 void incrementPasswordCount(); |
| 1308 void decrementPasswordCount(); | 1309 void decrementPasswordCount(); |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1719 | 1720 |
| 1720 } // namespace blink | 1721 } // namespace blink |
| 1721 | 1722 |
| 1722 #ifndef NDEBUG | 1723 #ifndef NDEBUG |
| 1723 // Outside the WebCore namespace for ease of invocation from gdb. | 1724 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1724 CORE_EXPORT void showLiveDocumentInstances(); | 1725 CORE_EXPORT void showLiveDocumentInstances(); |
| 1725 #endif | 1726 #endif |
| 1726 | 1727 |
| 1727 #endif // Document_h | 1728 #endif // Document_h |
| OLD | NEW |