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

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

Issue 1330633003: Intersection Observer first draft Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Lost newline in merge Created 5 years, 2 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 void decrementConnectedSubframeCount(unsigned amount = 1); 653 void decrementConnectedSubframeCount(unsigned amount = 1);
654 void updateAncestorConnectedSubframeCountForInsertion() const; 654 void updateAncestorConnectedSubframeCountForInsertion() const;
655 655
656 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints(); 656 PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints();
657 657
658 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 658 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
659 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 659 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
660 660
661 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 661 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
662 662
663 virtual bool hasIntersectionObserver() const { return false; }
664
663 DECLARE_VIRTUAL_TRACE(); 665 DECLARE_VIRTUAL_TRACE();
664 666
665 unsigned lengthOfContents() const; 667 unsigned lengthOfContents() const;
666 668
667 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override; 669 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override;
668 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN; 670 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN;
669 671
670 private: 672 private:
671 enum NodeFlags { 673 enum NodeFlags {
672 HasRareDataFlag = 1, 674 HasRareDataFlag = 1,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 } // namespace blink 902 } // namespace blink
901 903
902 #ifndef NDEBUG 904 #ifndef NDEBUG
903 // Outside the WebCore namespace for ease of invocation from gdb. 905 // Outside the WebCore namespace for ease of invocation from gdb.
904 void showNode(const blink::Node*); 906 void showNode(const blink::Node*);
905 void showTree(const blink::Node*); 907 void showTree(const blink::Node*);
906 void showNodePath(const blink::Node*); 908 void showNodePath(const blink::Node*);
907 #endif 909 #endif
908 910
909 #endif // Node_h 911 #endif // Node_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698