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

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

Issue 10871074: Merge 124556 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 4 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/rendering/RenderMenuList.cpp ('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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 virtual LayoutRect viewRect() const; 918 virtual LayoutRect viewRect() const;
919 919
920 void adjustRectForOutlineAndShadow(LayoutRect&) const; 920 void adjustRectForOutlineAndShadow(LayoutRect&) const;
921 921
922 void clearLayoutRootIfNeeded() const; 922 void clearLayoutRootIfNeeded() const;
923 virtual void willBeDestroyed(); 923 virtual void willBeDestroyed();
924 void arenaDelete(RenderArena*, void* objectBase); 924 void arenaDelete(RenderArena*, void* objectBase);
925 925
926 virtual LayoutRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintCo ntainer*/, LayoutPoint* /*cachedOffsetToRepaintContainer*/ = 0) const { return L ayoutRect(); } 926 virtual LayoutRect outlineBoundsForRepaint(RenderBoxModelObject* /*repaintCo ntainer*/, LayoutPoint* /*cachedOffsetToRepaintContainer*/ = 0) const { return L ayoutRect(); }
927 927
928 virtual bool canBeReplacedWithInlineRunIn() const;
929
928 private: 930 private:
929 RenderStyle* firstLineStyleSlowCase() const; 931 RenderStyle* firstLineStyleSlowCase() const;
930 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const; 932 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const;
931 933
932 Color selectionColor(int colorProperty) const; 934 Color selectionColor(int colorProperty) const;
933 935
934 RefPtr<RenderStyle> m_style; 936 RefPtr<RenderStyle> m_style;
935 937
936 Node* m_node; 938 Node* m_node;
937 939
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 // Outside the WebCore namespace for ease of invocation from gdb. 1215 // Outside the WebCore namespace for ease of invocation from gdb.
1214 void showTree(const WebCore::RenderObject*); 1216 void showTree(const WebCore::RenderObject*);
1215 void showLineTree(const WebCore::RenderObject*); 1217 void showLineTree(const WebCore::RenderObject*);
1216 void showRenderTree(const WebCore::RenderObject* object1); 1218 void showRenderTree(const WebCore::RenderObject* object1);
1217 // We don't make object2 an optional parameter so that showRenderTree 1219 // We don't make object2 an optional parameter so that showRenderTree
1218 // can be called from gdb easily. 1220 // can be called from gdb easily.
1219 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1221 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1220 #endif 1222 #endif
1221 1223
1222 #endif // RenderObject_h 1224 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderMenuList.cpp ('k') | Source/WebCore/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698