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

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

Issue 141013010: Rename bindingFoo to fooForBindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 unsigned childNodeCount() const; 478 unsigned childNodeCount() const;
479 Node* childNode(unsigned index) const; 479 Node* childNode(unsigned index) const;
480 480
481 bool isDescendantOf(const Node*) const; 481 bool isDescendantOf(const Node*) const;
482 bool contains(const Node*) const; 482 bool contains(const Node*) const;
483 bool containsIncludingShadowDOM(const Node*) const; 483 bool containsIncludingShadowDOM(const Node*) const;
484 bool containsIncludingHostElements(const Node&) const; 484 bool containsIncludingHostElements(const Node&) const;
485 Node* commonAncestor(const Node&, Node* (*parent)(const Node&)); 485 Node* commonAncestor(const Node&, Node* (*parent)(const Node&));
486 486
487 // FIXME: Remove this when crbug.com/265716 cleans up contains semantics. 487 // FIXME: Remove this when crbug.com/265716 cleans up contains semantics.
488 bool bindingsContains(const Node* node) const { return containsIncludingShad owDOM(node); } 488 bool containsForBindings(const Node* node) const { return containsIncludingS hadowDOM(node); }
489 489
490 // Used to determine whether range offsets use characters or node indices. 490 // Used to determine whether range offsets use characters or node indices.
491 virtual bool offsetInCharacters() const; 491 virtual bool offsetInCharacters() const;
492 // Number of DOM 16-bit units contained in node. Note that rendered text len gth can be different - e.g. because of 492 // Number of DOM 16-bit units contained in node. Note that rendered text len gth can be different - e.g. because of
493 // css-transform:capitalize breaking up precomposed characters and ligatures . 493 // css-transform:capitalize breaking up precomposed characters and ligatures .
494 virtual int maxCharacterOffset() const; 494 virtual int maxCharacterOffset() const;
495 495
496 // Whether or not a selection can be started in this object 496 // Whether or not a selection can be started in this object
497 virtual bool canStartSelection() const; 497 virtual bool canStartSelection() const;
498 498
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 911
912 } // namespace WebCore 912 } // namespace WebCore
913 913
914 #ifndef NDEBUG 914 #ifndef NDEBUG
915 // Outside the WebCore namespace for ease of invocation from gdb. 915 // Outside the WebCore namespace for ease of invocation from gdb.
916 void showTree(const WebCore::Node*); 916 void showTree(const WebCore::Node*);
917 void showNodePath(const WebCore::Node*); 917 void showNodePath(const WebCore::Node*);
918 #endif 918 #endif
919 919
920 #endif 920 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698