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

Side by Side Diff: sky/engine/core/rendering/RenderObject.h

Issue 737523002: Sky: Move iframe geometry updates to FrameView::updateLayout instead of (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: compile Created 6 years, 1 month 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 | « sky/engine/core/rendering/RenderIFrame.cpp ('k') | sky/engine/core/rendering/RenderObject.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) 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 // If |paintInvalidationContainer| is 0, invalidate paints via the view. 694 // If |paintInvalidationContainer| is 0, invalidate paints via the view.
695 // FIXME: |paintInvalidationContainer| should never be 0. See crbug.com/3636 99. 695 // FIXME: |paintInvalidationContainer| should never be 0. See crbug.com/3636 99.
696 void invalidatePaintUsingContainer(const RenderLayerModelObject* paintInvali dationContainer, const LayoutRect&, InvalidationReason) const; 696 void invalidatePaintUsingContainer(const RenderLayerModelObject* paintInvali dationContainer, const LayoutRect&, InvalidationReason) const;
697 697
698 // Invalidate the paint of a specific subrectangle within a given object. Th e rect |r| is in the object's coordinate space. 698 // Invalidate the paint of a specific subrectangle within a given object. Th e rect |r| is in the object's coordinate space.
699 void invalidatePaintRectangle(const LayoutRect&) const; 699 void invalidatePaintRectangle(const LayoutRect&) const;
700 700
701 InvalidationReason invalidatePaintIfNeeded(const RenderLayerModelObject& pai ntInvalidationContainer, 701 InvalidationReason invalidatePaintIfNeeded(const RenderLayerModelObject& pai ntInvalidationContainer,
702 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer, const PaintInvalidationState&); 702 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva lidationContainer, const PaintInvalidationState&);
703 703
704 // Invalidates the bounds of a widget that is drawn separately from the
705 // paint step.
706 virtual void invalidateWidgetBounds() { }
707
708 // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint in validation state. 704 // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint in validation state.
709 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); 705 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&);
710 706
711 virtual void invalidatePaintForOverflow(); 707 virtual void invalidatePaintForOverflow();
712 void invalidatePaintForOverflowIfNeeded(); 708 void invalidatePaintForOverflowIfNeeded();
713 709
714 bool checkForPaintInvalidation() const; 710 bool checkForPaintInvalidation() const;
715 711
716 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's 712 // Returns the rect that should have paint invalidated whenever this object changes. The rect is in the view's
717 // coordinate space. This method deals with outlines and overflow. 713 // coordinate space. This method deals with outlines and overflow.
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 void showTree(const blink::RenderObject*); 1271 void showTree(const blink::RenderObject*);
1276 void showLineTree(const blink::RenderObject*); 1272 void showLineTree(const blink::RenderObject*);
1277 void showRenderTree(const blink::RenderObject* object1); 1273 void showRenderTree(const blink::RenderObject* object1);
1278 // We don't make object2 an optional parameter so that showRenderTree 1274 // We don't make object2 an optional parameter so that showRenderTree
1279 // can be called from gdb easily. 1275 // can be called from gdb easily.
1280 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1276 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1281 1277
1282 #endif 1278 #endif
1283 1279
1284 #endif // RenderObject_h 1280 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderIFrame.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698