| 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-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 Loading... |
| 474 // W3C version | 474 // W3C version |
| 475 void webkitRequestFullscreen(); | 475 void webkitRequestFullscreen(); |
| 476 | 476 |
| 477 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } | 477 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS
creenElement); } |
| 478 void setContainsFullScreenElement(bool); | 478 void setContainsFullScreenElement(bool); |
| 479 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); | 479 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); |
| 480 | 480 |
| 481 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } | 481 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } |
| 482 void setIsInTopLayer(bool); | 482 void setIsInTopLayer(bool); |
| 483 | 483 |
| 484 void webkitRequestPointerLock(); |
| 484 void requestPointerLock(); | 485 void requestPointerLock(); |
| 485 | 486 |
| 486 bool isSpellCheckingEnabled() const; | 487 bool isSpellCheckingEnabled() const; |
| 487 | 488 |
| 488 // FIXME: public for RenderTreeBuilder, we shouldn't expose this though. | 489 // FIXME: public for RenderTreeBuilder, we shouldn't expose this though. |
| 489 PassRefPtr<RenderStyle> styleForRenderer(); | 490 PassRefPtr<RenderStyle> styleForRenderer(); |
| 490 | 491 |
| 491 bool hasID() const; | 492 bool hasID() const; |
| 492 bool hasClass() const; | 493 bool hasClass() const; |
| 493 const SpaceSplitString& classNames() const; | 494 const SpaceSplitString& classNames() const; |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 864 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 864 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 865 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 865 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 866 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 866 { \ | 867 { \ |
| 867 return adoptRefWillBeNoop(new T(tagName, document)); \ | 868 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 868 } | 869 } |
| 869 | 870 |
| 870 } // namespace | 871 } // namespace |
| 871 | 872 |
| 872 #endif | 873 #endif |
| OLD | NEW |