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

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 an entry to global-interface-listing 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 String outerHTML() const; 441 String outerHTML() const;
442 void setInnerHTML(const String&, ExceptionState&); 442 void setInnerHTML(const String&, ExceptionState&);
443 void setOuterHTML(const String&, ExceptionState&); 443 void setOuterHTML(const String&, ExceptionState&);
444 444
445 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&); 445 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&);
446 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&); 446 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&);
447 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&); 447 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&);
448 448
449 void setPointerCapture(int pointerId, ExceptionState&); 449 void setPointerCapture(int pointerId, ExceptionState&);
450 void releasePointerCapture(int pointerId, ExceptionState&); 450 void releasePointerCapture(int pointerId, ExceptionState&);
451 bool hasPointerCapture(int pointerId);
451 452
452 String textFromChildren(); 453 String textFromChildren();
453 454
454 virtual String title() const { return String(); } 455 virtual String title() const { return String(); }
455 virtual String defaultToolTip() const { return String(); } 456 virtual String defaultToolTip() const { return String(); }
456 457
457 virtual const AtomicString& shadowPseudoId() const; 458 virtual const AtomicString& shadowPseudoId() const;
458 // The specified string must start with "-webkit-" or "-internal-". The 459 // The specified string must start with "-webkit-" or "-internal-". The
459 // former can be used as a selector in any places, and the latter can be 460 // former can be used as a selector in any places, and the latter can be
460 // used only in UA stylesheet. 461 // used only in UA stylesheet.
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 static T* create(const QualifiedName&, Document&) 983 static T* create(const QualifiedName&, Document&)
983 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 984 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
984 T* T::create(const QualifiedName& tagName, Document& document) \ 985 T* T::create(const QualifiedName& tagName, Document& document) \
985 { \ 986 { \
986 return new T(tagName, document); \ 987 return new T(tagName, document); \
987 } 988 }
988 989
989 } // namespace blink 990 } // namespace blink
990 991
991 #endif // Element_h 992 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698