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

Side by Side Diff: Source/WebCore/dom/Element.h

Issue 12703032: Revert 146744 "Refactoring: Pull Node::disabled() and Node::isIn..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | Source/WebCore/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 virtual bool isTextFieldDecoration() const { return false; } 550 virtual bool isTextFieldDecoration() const { return false; }
551 551
552 virtual bool canContainRangeEndPoint() const { return true; } 552 virtual bool canContainRangeEndPoint() const { return true; }
553 553
554 virtual const AtomicString& formControlType() const { return nullAtom; } 554 virtual const AtomicString& formControlType() const { return nullAtom; }
555 555
556 virtual bool wasChangedSinceLastFormControlChangeEvent() const; 556 virtual bool wasChangedSinceLastFormControlChangeEvent() const;
557 virtual void setChangedSinceLastFormControlChangeEvent(bool); 557 virtual void setChangedSinceLastFormControlChangeEvent(bool);
558 virtual void dispatchFormControlChangeEvent() { } 558 virtual void dispatchFormControlChangeEvent() { }
559 559
560 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched
561 // to event listeners, and prevents DOMActivate events from being sent at al l.
562 virtual bool disabled() const;
563
564 #if ENABLE(DIALOG_ELEMENT)
565 bool isInert() const;
566 #endif
567
568 #if ENABLE(SVG) 560 #if ENABLE(SVG)
569 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 561 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
570 bool hasPendingResources() const; 562 bool hasPendingResources() const;
571 void setHasPendingResources(); 563 void setHasPendingResources();
572 void clearHasPendingResources(); 564 void clearHasPendingResources();
573 virtual void buildPendingResource() { }; 565 virtual void buildPendingResource() { };
574 #endif 566 #endif
575 567
576 #if ENABLE(FULLSCREEN_API) 568 #if ENABLE(FULLSCREEN_API)
577 enum { 569 enum {
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 { 980 {
989 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); 981 ASSERT_WITH_SECURITY_IMPLICATION(index < length());
990 if (m_isUnique) 982 if (m_isUnique)
991 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a t(index); 983 return &static_cast<const UniqueElementData*>(this)->m_attributeVector.a t(index);
992 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind ex]; 984 return &static_cast<const ShareableElementData*>(this)->m_attributeArray[ind ex];
993 } 985 }
994 986
995 } // namespace 987 } // namespace
996 988
997 #endif 989 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698