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

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

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 2 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 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 return nullAtom; 1422 return nullAtom;
1423 } 1423 }
1424 1424
1425 const AtomicString Element::imageSourceURL() const 1425 const AtomicString Element::imageSourceURL() const
1426 { 1426 {
1427 return getAttribute(srcAttr); 1427 return getAttribute(srcAttr);
1428 } 1428 }
1429 1429
1430 bool Element::layoutObjectIsNeeded(const ComputedStyle& style) 1430 bool Element::layoutObjectIsNeeded(const ComputedStyle& style)
1431 { 1431 {
1432 return style.display() != NONE; 1432 return style.display() != EDisplay::None;
1433 } 1433 }
1434 1434
1435 LayoutObject* Element::createLayoutObject(const ComputedStyle& style) 1435 LayoutObject* Element::createLayoutObject(const ComputedStyle& style)
1436 { 1436 {
1437 return LayoutObject::createObject(this, style); 1437 return LayoutObject::createObject(this, style);
1438 } 1438 }
1439 1439
1440 Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio nPoint) 1440 Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertio nPoint)
1441 { 1441 {
1442 // need to do superclass processing first so isConnected() is true 1442 // need to do superclass processing first so isConnected() is true
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after
3829 3829
3830 DEFINE_TRACE_WRAPPERS(Element) 3830 DEFINE_TRACE_WRAPPERS(Element)
3831 { 3831 {
3832 if (hasRareData()) { 3832 if (hasRareData()) {
3833 visitor->traceWrappers(elementRareData()); 3833 visitor->traceWrappers(elementRareData());
3834 } 3834 }
3835 ContainerNode::traceWrappers(visitor); 3835 ContainerNode::traceWrappers(visitor);
3836 } 3836 }
3837 3837
3838 } // namespace blink 3838 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp ('k') | third_party/WebKit/Source/core/dom/PseudoElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698