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

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

Issue 18080016: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 void setChildrenAffectedByDirectAdjacentRules(); 474 void setChildrenAffectedByDirectAdjacentRules();
475 void setChildrenAffectedByForwardPositionalRules(); 475 void setChildrenAffectedByForwardPositionalRules();
476 void setChildrenAffectedByBackwardPositionalRules(); 476 void setChildrenAffectedByBackwardPositionalRules();
477 void setChildIndex(unsigned); 477 void setChildIndex(unsigned);
478 478
479 void setIsInCanvasSubtree(bool); 479 void setIsInCanvasSubtree(bool);
480 bool isInCanvasSubtree() const; 480 bool isInCanvasSubtree() const;
481 481
482 bool isUnresolvedCustomElement(); 482 bool isUnresolvedCustomElement();
483 483
484 void setIsDOMChildOfRegion(bool);
485 bool isDOMChildOfRegion() const;
esprehn 2013/06/28 20:29:36 Remove "DOM" from the name. This is an Element so
486
484 void setRegionOversetState(RegionOversetState); 487 void setRegionOversetState(RegionOversetState);
485 RegionOversetState regionOversetState() const; 488 RegionOversetState regionOversetState() const;
486 489
487 AtomicString computeInheritedLanguage() const; 490 AtomicString computeInheritedLanguage() const;
488 Locale& locale() const; 491 Locale& locale() const;
489 492
490 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { } 493 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { }
491 494
492 virtual bool isURLAttribute(const Attribute&) const { return false; } 495 virtual bool isURLAttribute(const Attribute&) const { return false; }
493 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; } 496 virtual bool isHTMLContentAttribute(const Attribute&) const { return false; }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 void setIsInTopLayer(bool); 601 void setIsInTopLayer(bool);
599 602
600 void webkitRequestPointerLock(); 603 void webkitRequestPointerLock();
601 604
602 bool isSpellCheckingEnabled() const; 605 bool isSpellCheckingEnabled() const;
603 606
604 PassRefPtr<RenderStyle> styleForRenderer(); 607 PassRefPtr<RenderStyle> styleForRenderer();
605 PassRefPtr<RenderStyle> originalStyleForRenderer(); 608 PassRefPtr<RenderStyle> originalStyleForRenderer();
606 609
607 RenderRegion* renderRegion() const; 610 RenderRegion* renderRegion() const;
611 virtual bool shouldMoveToFlowThread(RenderStyle*) const;
608 const AtomicString& webkitRegionOverset() const; 612 const AtomicString& webkitRegionOverset() const;
609 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const; 613 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const;
610 614
611 bool hasID() const; 615 bool hasID() const;
612 bool hasClass() const; 616 bool hasClass() const;
613 const SpaceSplitString& classNames() const; 617 const SpaceSplitString& classNames() const;
614 618
615 IntSize savedLayerScrollOffset() const; 619 IntSize savedLayerScrollOffset() const;
616 void setSavedLayerScrollOffset(const IntSize&); 620 void setSavedLayerScrollOffset(const IntSize&);
617 621
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 1059
1056 inline const Attribute* ElementData::attributeItem(unsigned index) const 1060 inline const Attribute* ElementData::attributeItem(unsigned index) const
1057 { 1061 {
1058 RELEASE_ASSERT(index < length()); 1062 RELEASE_ASSERT(index < length());
1059 return attributeBase() + index; 1063 return attributeBase() + index;
1060 } 1064 }
1061 1065
1062 } // namespace 1066 } // namespace
1063 1067
1064 #endif 1068 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698