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

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

Issue 14373010: Make abspos <dialog>'s containing block be the ICB. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 7 years, 7 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 | Annotate | Revision Log
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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 549
550 virtual bool wasChangedSinceLastFormControlChangeEvent() const; 550 virtual bool wasChangedSinceLastFormControlChangeEvent() const;
551 virtual void setChangedSinceLastFormControlChangeEvent(bool); 551 virtual void setChangedSinceLastFormControlChangeEvent(bool);
552 virtual void dispatchFormControlChangeEvent() { } 552 virtual void dispatchFormControlChangeEvent() { }
553 553
554 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched 554 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched
555 // to event listeners, and prevents DOMActivate events from being sent at al l. 555 // to event listeners, and prevents DOMActivate events from being sent at al l.
556 virtual bool isDisabledFormControl() const; 556 virtual bool isDisabledFormControl() const;
557 557
558 bool isInert() const; 558 bool isInert() const;
559 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r eturn isInTopLayer(); }
559 560
560 #if ENABLE(SVG) 561 #if ENABLE(SVG)
561 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 562 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
562 bool hasPendingResources() const; 563 bool hasPendingResources() const;
563 void setHasPendingResources(); 564 void setHasPendingResources();
564 void clearHasPendingResources(); 565 void clearHasPendingResources();
565 virtual void buildPendingResource() { }; 566 virtual void buildPendingResource() { };
566 #endif 567 #endif
567 568
568 enum { 569 enum {
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 1011
1011 inline const Attribute* ElementData::attributeItem(unsigned index) const 1012 inline const Attribute* ElementData::attributeItem(unsigned index) const
1012 { 1013 {
1013 RELEASE_ASSERT(index < length()); 1014 RELEASE_ASSERT(index < length());
1014 return attributeBase() + index; 1015 return attributeBase() + index;
1015 } 1016 }
1016 1017
1017 } // namespace 1018 } // namespace
1018 1019
1019 #endif 1020 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698