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

Side by Side Diff: Source/core/dom/Node.h

Issue 1330633003: Intersection Observer first draft Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Include new files as well. Created 5 years, 3 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 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 void decrementConnectedSubframeCount(unsigned amount = 1); 660 void decrementConnectedSubframeCount(unsigned amount = 1);
661 void updateAncestorConnectedSubframeCountForInsertion() const; 661 void updateAncestorConnectedSubframeCountForInsertion() const;
662 662
663 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints(); 663 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints();
664 664
665 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 665 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
666 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 666 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
667 667
668 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 668 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
669 669
670 virtual bool hasIntersectionObserver() const { return false; }
671
670 DECLARE_VIRTUAL_TRACE(); 672 DECLARE_VIRTUAL_TRACE();
671 673
672 unsigned lengthOfContents() const; 674 unsigned lengthOfContents() const;
673 675
674 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override; 676 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override;
675 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN; 677 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN;
676 678
677 private: 679 private:
678 enum NodeFlags { 680 enum NodeFlags {
679 HasRareDataFlag = 1, 681 HasRareDataFlag = 1,
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 } // namespace blink 907 } // namespace blink
906 908
907 #ifndef NDEBUG 909 #ifndef NDEBUG
908 // Outside the WebCore namespace for ease of invocation from gdb. 910 // Outside the WebCore namespace for ease of invocation from gdb.
909 void showNode(const blink::Node*); 911 void showNode(const blink::Node*);
910 void showTree(const blink::Node*); 912 void showTree(const blink::Node*);
911 void showNodePath(const blink::Node*); 913 void showNodePath(const blink::Node*);
912 #endif 914 #endif
913 915
914 #endif // Node_h 916 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698