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

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

Issue 2220043002: Added PointerEvent.hasPointerCapture API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a missing element interface. Created 4 years, 4 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-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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 String outerHTML() const; 445 String outerHTML() const;
446 void setInnerHTML(const String&, ExceptionState&); 446 void setInnerHTML(const String&, ExceptionState&);
447 void setOuterHTML(const String&, ExceptionState&); 447 void setOuterHTML(const String&, ExceptionState&);
448 448
449 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&); 449 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&);
450 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&); 450 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&);
451 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&); 451 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&);
452 452
453 void setPointerCapture(int pointerId, ExceptionState&); 453 void setPointerCapture(int pointerId, ExceptionState&);
454 void releasePointerCapture(int pointerId, ExceptionState&); 454 void releasePointerCapture(int pointerId, ExceptionState&);
455 bool hasPointerCapture(int pointerId);
455 456
456 String textFromChildren(); 457 String textFromChildren();
457 458
458 virtual String title() const { return String(); } 459 virtual String title() const { return String(); }
459 virtual String defaultToolTip() const { return String(); } 460 virtual String defaultToolTip() const { return String(); }
460 461
461 virtual const AtomicString& shadowPseudoId() const; 462 virtual const AtomicString& shadowPseudoId() const;
462 // The specified string must start with "-webkit-" or "-internal-". The 463 // The specified string must start with "-webkit-" or "-internal-". The
463 // former can be used as a selector in any places, and the latter can be 464 // former can be used as a selector in any places, and the latter can be
464 // used only in UA stylesheet. 465 // used only in UA stylesheet.
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 static T* create(const QualifiedName&, Document&) 981 static T* create(const QualifiedName&, Document&)
981 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 982 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
982 T* T::create(const QualifiedName& tagName, Document& document) \ 983 T* T::create(const QualifiedName& tagName, Document& document) \
983 { \ 984 { \
984 return new T(tagName, document); \ 985 return new T(tagName, document); \
985 } 986 }
986 987
987 } // namespace blink 988 } // namespace blink
988 989
989 #endif // Element_h 990 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698