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

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

Issue 260963012: Override repaintTreeAfterLayout for RenderSVGModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations. Created 6 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) 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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 1045
1046 void clearLayoutRootIfNeeded() const; 1046 void clearLayoutRootIfNeeded() const;
1047 virtual void willBeDestroyed(); 1047 virtual void willBeDestroyed();
1048 void postDestroy(); 1048 void postDestroy();
1049 1049
1050 virtual void insertedIntoTree(); 1050 virtual void insertedIntoTree();
1051 virtual void willBeRemovedFromTree(); 1051 virtual void willBeRemovedFromTree();
1052 1052
1053 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; } 1053 void setDocumentForAnonymous(Document* document) { ASSERT(isAnonymous()); m_ node = document; }
1054 1054
1055 void repaintScrollbarsIfNeeded();
1056
1055 // Add hit-test rects for the render tree rooted at this node to the provide d collection on a 1057 // Add hit-test rects for the render tree rooted at this node to the provide d collection on a
1056 // per-RenderLayer basis. 1058 // per-RenderLayer basis.
1057 // currentLayer must be the enclosing layer, and layerOffset is the current offset within 1059 // currentLayer must be the enclosing layer, and layerOffset is the current offset within
1058 // this layer. Subclass implementations will add any offset for this rendere r within it's 1060 // this layer. Subclass implementations will add any offset for this rendere r within it's
1059 // container, so callers should provide only the offset of the container wit hin it's layer. 1061 // container, so callers should provide only the offset of the container wit hin it's layer.
1060 // containerRect is a rect that has already been added for the currentLayer which is likely to 1062 // containerRect is a rect that has already been added for the currentLayer which is likely to
1061 // be a container for child elements. Any rect wholly contained by container Rect can be 1063 // be a container for child elements. Any rect wholly contained by container Rect can be
1062 // skipped. 1064 // skipped.
1063 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons t; 1065 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons t;
1064 1066
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 void showTree(const WebCore::RenderObject*); 1444 void showTree(const WebCore::RenderObject*);
1443 void showLineTree(const WebCore::RenderObject*); 1445 void showLineTree(const WebCore::RenderObject*);
1444 void showRenderTree(const WebCore::RenderObject* object1); 1446 void showRenderTree(const WebCore::RenderObject* object1);
1445 // We don't make object2 an optional parameter so that showRenderTree 1447 // We don't make object2 an optional parameter so that showRenderTree
1446 // can be called from gdb easily. 1448 // can be called from gdb easily.
1447 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1449 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1448 1450
1449 #endif 1451 #endif
1450 1452
1451 #endif // RenderObject_h 1453 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698