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

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

Issue 9695005: Merge 110323 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
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/rendering/RenderObject.h ('k') | Source/WebCore/rendering/RenderReplaced.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 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) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 2768 matching lines...) Expand 10 before | Expand all | Expand 10 after
2779 2779
2780 ASSERT(!node()); 2780 ASSERT(!node());
2781 return createVisiblePosition(0, DOWNSTREAM); 2781 return createVisiblePosition(0, DOWNSTREAM);
2782 } 2782 }
2783 2783
2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const 2784 CursorDirective RenderObject::getCursor(const LayoutPoint&, Cursor&) const
2785 { 2785 {
2786 return SetCursorBasedOnStyle; 2786 return SetCursorBasedOnStyle;
2787 } 2787 }
2788 2788
2789 bool RenderObject::canUpdateSelectionOnRootLineBoxes()
2790 {
2791 RenderBlock* containingBlock = this->containingBlock();
2792 return containingBlock ? !containingBlock->needsLayout() : true;
2793 }
2794
2789 #if ENABLE(SVG) 2795 #if ENABLE(SVG)
2790 2796
2791 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer() 2797 RenderSVGResourceContainer* RenderObject::toRenderSVGResourceContainer()
2792 { 2798 {
2793 ASSERT_NOT_REACHED(); 2799 ASSERT_NOT_REACHED();
2794 return 0; 2800 return 0;
2795 } 2801 }
2796 2802
2797 void RenderObject::setNeedsBoundariesUpdate() 2803 void RenderObject::setNeedsBoundariesUpdate()
2798 { 2804 {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2865 { 2871 {
2866 if (object1) { 2872 if (object1) {
2867 const WebCore::RenderObject* root = object1; 2873 const WebCore::RenderObject* root = object1;
2868 while (root->parent()) 2874 while (root->parent())
2869 root = root->parent(); 2875 root = root->parent();
2870 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 2876 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
2871 } 2877 }
2872 } 2878 }
2873 2879
2874 #endif 2880 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderObject.h ('k') | Source/WebCore/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698