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

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

Issue 2723793002: De-Element ScriptLoader (Closed)
Patch Set: ScriptLoaderClient->ScriptElementBase, pure virtual interface, add fixme Created 3 years, 9 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 virtual bool isFormControlElement() const { return false; } 641 virtual bool isFormControlElement() const { return false; }
642 virtual bool isSpinButtonElement() const { return false; } 642 virtual bool isSpinButtonElement() const { return false; }
643 virtual bool isTextControl() const { return false; } 643 virtual bool isTextControl() const { return false; }
644 virtual bool isOptionalFormControl() const { return false; } 644 virtual bool isOptionalFormControl() const { return false; }
645 virtual bool isRequiredFormControl() const { return false; } 645 virtual bool isRequiredFormControl() const { return false; }
646 virtual bool willValidate() const { return false; } 646 virtual bool willValidate() const { return false; }
647 virtual bool isValidElement() { return false; } 647 virtual bool isValidElement() { return false; }
648 virtual bool isInRange() const { return false; } 648 virtual bool isInRange() const { return false; }
649 virtual bool isOutOfRange() const { return false; } 649 virtual bool isOutOfRange() const { return false; }
650 virtual bool isClearButtonElement() const { return false; } 650 virtual bool isClearButtonElement() const { return false; }
651 virtual bool isScriptElement() const { return false; }
651 652
652 bool canContainRangeEndPoint() const override { return true; } 653 bool canContainRangeEndPoint() const override { return true; }
653 654
654 // Used for disabled form elements; if true, prevents mouse events from being 655 // Used for disabled form elements; if true, prevents mouse events from being
655 // dispatched to event listeners, and prevents DOMActivate events from being 656 // dispatched to event listeners, and prevents DOMActivate events from being
656 // sent at all. 657 // sent at all.
657 virtual bool isDisabledFormControl() const { return false; } 658 virtual bool isDisabledFormControl() const { return false; }
658 659
659 bool hasPendingResources() const { 660 bool hasPendingResources() const {
660 return hasElementFlag(HasPendingResources); 661 return hasElementFlag(HasPendingResources);
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1200 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1200 static T* create(const QualifiedName&, Document&) 1201 static T* create(const QualifiedName&, Document&)
1201 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 1202 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
1202 T* T::create(const QualifiedName& tagName, Document& document) { \ 1203 T* T::create(const QualifiedName& tagName, Document& document) { \
1203 return new T(tagName, document); \ 1204 return new T(tagName, document); \
1204 } 1205 }
1205 1206
1206 } // namespace blink 1207 } // namespace blink
1207 1208
1208 #endif // Element_h 1209 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/PendingScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698