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

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

Issue 9569043: Merge 109406 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « Source/WebCore/page/FrameView.h ('k') | Source/WebCore/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 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 Color, EBorderStyle, int adjbw1, int adjbw2, bool an tialias = false); 846 Color, EBorderStyle, int adjbw1, int adjbw2, bool an tialias = false);
847 847
848 void paintFocusRing(GraphicsContext*, const LayoutPoint&, RenderStyle*); 848 void paintFocusRing(GraphicsContext*, const LayoutPoint&, RenderStyle*);
849 void paintOutline(GraphicsContext*, const LayoutRect&); 849 void paintOutline(GraphicsContext*, const LayoutRect&);
850 void addPDFURLRect(GraphicsContext*, const LayoutRect&); 850 void addPDFURLRect(GraphicsContext*, const LayoutRect&);
851 851
852 virtual LayoutRect viewRect() const; 852 virtual LayoutRect viewRect() const;
853 853
854 void adjustRectForOutlineAndShadow(LayoutRect&) const; 854 void adjustRectForOutlineAndShadow(LayoutRect&) const;
855 855
856 void clearLayoutRootIfNeeded() const;
856 virtual void willBeDestroyed(); 857 virtual void willBeDestroyed();
857 void arenaDelete(RenderArena*, void* objectBase); 858 void arenaDelete(RenderArena*, void* objectBase);
858 859
859 virtual LayoutRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintCo ntainer*/, LayoutPoint* /*cachedOffsetToRepaintContainer*/ = 0) const { return L ayoutRect(); } 860 virtual LayoutRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintCo ntainer*/, LayoutPoint* /*cachedOffsetToRepaintContainer*/ = 0) const { return L ayoutRect(); }
860 861
861 private: 862 private:
862 RenderStyle* firstLineStyleSlowCase() const; 863 RenderStyle* firstLineStyleSlowCase() const;
863 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const; 864 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const;
864 865
865 Color selectionColor(int colorProperty) const; 866 Color selectionColor(int colorProperty) const;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 // Outside the WebCore namespace for ease of invocation from gdb. 1074 // Outside the WebCore namespace for ease of invocation from gdb.
1074 void showTree(const WebCore::RenderObject*); 1075 void showTree(const WebCore::RenderObject*);
1075 void showLineTree(const WebCore::RenderObject*); 1076 void showLineTree(const WebCore::RenderObject*);
1076 void showRenderTree(const WebCore::RenderObject* object1); 1077 void showRenderTree(const WebCore::RenderObject* object1);
1077 // We don't make object2 an optional parameter so that showRenderTree 1078 // We don't make object2 an optional parameter so that showRenderTree
1078 // can be called from gdb easily. 1079 // can be called from gdb easily.
1079 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1080 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1080 #endif 1081 #endif
1081 1082
1082 #endif // RenderObject_h 1083 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/WebCore/page/FrameView.h ('k') | Source/WebCore/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698