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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 19660002: Revert "[CSS Regions] Mouse over an element does not trigger :hover state for parent when the eleme… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 Frame* frame() const { return document()->frame(); } 606 Frame* frame() const { return document()->frame(); }
607 607
608 bool hasOutlineAnnotation() const; 608 bool hasOutlineAnnotation() const;
609 bool hasOutline() const { return style()->hasOutline() || hasOutlineAnnotati on(); } 609 bool hasOutline() const { return style()->hasOutline() || hasOutlineAnnotati on(); }
610 610
611 // Returns the object containing this one. Can be different from parent for positioned elements. 611 // Returns the object containing this one. Can be different from parent for positioned elements.
612 // If repaintContainer and repaintContainerSkipped are not null, on return * repaintContainerSkipped 612 // If repaintContainer and repaintContainerSkipped are not null, on return * repaintContainerSkipped
613 // is true if the renderer returned is an ancestor of repaintContainer. 613 // is true if the renderer returned is an ancestor of repaintContainer.
614 RenderObject* container(const RenderLayerModelObject* repaintContainer = 0, bool* repaintContainerSkipped = 0) const; 614 RenderObject* container(const RenderLayerModelObject* repaintContainer = 0, bool* repaintContainerSkipped = 0) const;
615 615
616 virtual RenderObject* hoverAncestor() const; 616 virtual RenderObject* hoverAncestor() const { return parent(); }
617 617
618 Element* offsetParent() const; 618 Element* offsetParent() const;
619 619
620 void markContainingBlocksForLayout(bool scheduleRelayout = true, RenderObjec t* newRoot = 0); 620 void markContainingBlocksForLayout(bool scheduleRelayout = true, RenderObjec t* newRoot = 0);
621 void setNeedsLayout(bool needsLayout, MarkingBehavior = MarkContainingBlockC hain); 621 void setNeedsLayout(bool needsLayout, MarkingBehavior = MarkContainingBlockC hain);
622 void setChildNeedsLayout(bool childNeedsLayout, MarkingBehavior = MarkContai ningBlockChain); 622 void setChildNeedsLayout(bool childNeedsLayout, MarkingBehavior = MarkContai ningBlockChain);
623 void setNeedsPositionedMovementLayout(); 623 void setNeedsPositionedMovementLayout();
624 void setNeedsSimplifiedNormalFlowLayout(); 624 void setNeedsSimplifiedNormalFlowLayout();
625 void setPreferredLogicalWidthsDirty(bool, MarkingBehavior = MarkContainingBl ockChain); 625 void setPreferredLogicalWidthsDirty(bool, MarkingBehavior = MarkContainingBl ockChain);
626 void invalidateContainerPreferredLogicalWidths(); 626 void invalidateContainerPreferredLogicalWidths();
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 // Outside the WebCore namespace for ease of invocation from gdb. 1309 // Outside the WebCore namespace for ease of invocation from gdb.
1310 void showTree(const WebCore::RenderObject*); 1310 void showTree(const WebCore::RenderObject*);
1311 void showLineTree(const WebCore::RenderObject*); 1311 void showLineTree(const WebCore::RenderObject*);
1312 void showRenderTree(const WebCore::RenderObject* object1); 1312 void showRenderTree(const WebCore::RenderObject* object1);
1313 // We don't make object2 an optional parameter so that showRenderTree 1313 // We don't make object2 an optional parameter so that showRenderTree
1314 // can be called from gdb easily. 1314 // can be called from gdb easily.
1315 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1315 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1316 #endif 1316 #endif
1317 1317
1318 #endif // RenderObject_h 1318 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/regions/hover-on-child-parent-different-regions-expected.txt ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698