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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2780953002: When historyEntryRequiresUserGesture is enabled, exempt docs that have been committed for 5 seconds (Closed)
Patch Set: Centralize checking the setting Created 3 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 unified diff | Download patch
OLDNEW
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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 void setParsingState(ParsingState); 671 void setParsingState(ParsingState);
672 bool parsing() const { return m_parsingState == Parsing; } 672 bool parsing() const { return m_parsingState == Parsing; }
673 bool isInDOMContentLoaded() const { 673 bool isInDOMContentLoaded() const {
674 return m_parsingState == InDOMContentLoaded; 674 return m_parsingState == InDOMContentLoaded;
675 } 675 }
676 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; } 676 bool hasFinishedParsing() const { return m_parsingState == FinishedParsing; }
677 677
678 bool shouldScheduleLayout() const; 678 bool shouldScheduleLayout() const;
679 int elapsedTime() const; 679 int elapsedTime() const;
680 680
681 bool canCreateHistoryEntry() const;
682
681 TextLinkColors& textLinkColors() { return m_textLinkColors; } 683 TextLinkColors& textLinkColors() { return m_textLinkColors; }
682 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; } 684 VisitedLinkState& visitedLinkState() const { return *m_visitedLinkState; }
683 685
684 MouseEventWithHitTestResults performMouseEventHitTest(const HitTestRequest&, 686 MouseEventWithHitTestResults performMouseEventHitTest(const HitTestRequest&,
685 const LayoutPoint&, 687 const LayoutPoint&,
686 const WebMouseEvent&); 688 const WebMouseEvent&);
687 689
688 /* Newly proposed CSS3 mechanism for selecting alternate 690 /* Newly proposed CSS3 mechanism for selecting alternate
689 stylesheets using the DOM. May be subject to change as 691 stylesheets using the DOM. May be subject to change as
690 spec matures. - dwh 692 spec matures. - dwh
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1711 1713
1712 } // namespace blink 1714 } // namespace blink
1713 1715
1714 #ifndef NDEBUG 1716 #ifndef NDEBUG
1715 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1716 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1717 #endif 1719 #endif
1718 1720
1719 #endif // Document_h 1721 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698