OLD | NEW |
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 410 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
411 void recalcStyle(StyleChange = NoChange); | 411 void recalcStyle(StyleChange = NoChange); |
412 void didAffectSelector(AffectedSelectorMask); | 412 void didAffectSelector(AffectedSelectorMask); |
413 | 413 |
414 ElementShadow* shadow() const; | 414 ElementShadow* shadow() const; |
415 ElementShadow* ensureShadow(); | 415 ElementShadow* ensureShadow(); |
416 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); | 416 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); |
417 ShadowRoot* shadowRoot() const; | 417 ShadowRoot* shadowRoot() const; |
418 | 418 |
419 bool hasAuthorShadowRoot() const { return shadowRoot(); } | 419 bool hasAuthorShadowRoot() const { return shadowRoot(); } |
420 virtual void willAddAuthorShadowRoot() { } | |
421 | 420 |
422 ShadowRoot* userAgentShadowRoot() const; | 421 ShadowRoot* userAgentShadowRoot() const; |
423 ShadowRoot* ensureUserAgentShadowRoot(); | 422 ShadowRoot* ensureUserAgentShadowRoot(); |
424 | 423 |
425 virtual const AtomicString& shadowPseudoId() const; | 424 virtual const AtomicString& shadowPseudoId() const; |
426 | 425 |
427 RenderStyle* computedStyle(PseudoId = NOPSEUDO); | 426 RenderStyle* computedStyle(PseudoId = NOPSEUDO); |
428 | 427 |
429 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) | 428 // Methods for indicating the style is affected by dynamic updates (e.g., ch
ildren changing, our position changing in our sibling list, etc.) |
430 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } | 429 bool styleAffectedByEmpty() const { return hasRareData() && rareDataStyleAff
ectedByEmpty(); } |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 void clearHasPendingResources(); | 561 void clearHasPendingResources(); |
563 virtual void buildPendingResource() { }; | 562 virtual void buildPendingResource() { }; |
564 #endif | 563 #endif |
565 | 564 |
566 enum { | 565 enum { |
567 ALLOW_KEYBOARD_INPUT = 1 << 0, | 566 ALLOW_KEYBOARD_INPUT = 1 << 0, |
568 LEGACY_MOZILLA_REQUEST = 1 << 1, | 567 LEGACY_MOZILLA_REQUEST = 1 << 1, |
569 }; | 568 }; |
570 | 569 |
571 void webkitRequestFullScreen(unsigned short flags); | 570 void webkitRequestFullScreen(unsigned short flags); |
572 virtual bool containsFullScreenElement() const; | 571 bool containsFullScreenElement() const; |
573 virtual void setContainsFullScreenElement(bool); | 572 void setContainsFullScreenElement(bool); |
574 virtual void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(
bool); | 573 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); |
575 | 574 |
576 // W3C API | 575 // W3C API |
577 void webkitRequestFullscreen(); | 576 void webkitRequestFullscreen(); |
578 | 577 |
579 bool isInTopLayer() const; | 578 bool isInTopLayer() const; |
580 void setIsInTopLayer(bool); | 579 void setIsInTopLayer(bool); |
581 | 580 |
582 void webkitRequestPointerLock(); | 581 void webkitRequestPointerLock(); |
583 | 582 |
584 virtual bool isSpellCheckingEnabled() const; | 583 bool isSpellCheckingEnabled() const; |
585 | 584 |
586 PassRefPtr<RenderStyle> styleForRenderer(); | 585 PassRefPtr<RenderStyle> styleForRenderer(); |
587 | 586 |
588 RenderRegion* renderRegion() const; | 587 RenderRegion* renderRegion() const; |
589 #if ENABLE(CSS_REGIONS) | 588 #if ENABLE(CSS_REGIONS) |
590 const AtomicString& webkitRegionOverset() const; | 589 const AtomicString& webkitRegionOverset() const; |
591 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const; | 590 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const; |
592 #endif | 591 #endif |
593 | 592 |
594 bool hasID() const; | 593 bool hasID() const; |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 | 1001 |
1003 inline const Attribute* ElementData::attributeItem(unsigned index) const | 1002 inline const Attribute* ElementData::attributeItem(unsigned index) const |
1004 { | 1003 { |
1005 RELEASE_ASSERT(index < length()); | 1004 RELEASE_ASSERT(index < length()); |
1006 return attributeBase() + index; | 1005 return attributeBase() + index; |
1007 } | 1006 } |
1008 | 1007 |
1009 } // namespace | 1008 } // namespace |
1010 | 1009 |
1011 #endif | 1010 #endif |
OLD | NEW |