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

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

Issue 1161623004: Remove backface visibility (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/style/RenderStyle.h » ('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 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 RenderBlock* containingBlock = this->containingBlock(); 1868 RenderBlock* containingBlock = this->containingBlock();
1869 return containingBlock ? !containingBlock->needsLayout() : false; 1869 return containingBlock ? !containingBlock->needsLayout() : false;
1870 } 1870 }
1871 1871
1872 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&) 1872 bool RenderObject::nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint&)
1873 { 1873 {
1874 ASSERT_NOT_REACHED(); 1874 ASSERT_NOT_REACHED();
1875 return false; 1875 return false;
1876 } 1876 }
1877 1877
1878 bool RenderObject::isRelayoutBoundaryForInspector() const
1879 {
1880 return objectIsRelayoutBoundary(this);
1881 }
1882
1883 bool RenderObject::isAllowedToModifyRenderTreeStructure(Document& document) 1878 bool RenderObject::isAllowedToModifyRenderTreeStructure(Document& document)
1884 { 1879 {
1885 return document.lifecycle().stateAllowsRenderTreeMutations(); 1880 return document.lifecycle().stateAllowsRenderTreeMutations();
1886 } 1881 }
1887 1882
1888 } // namespace blink 1883 } // namespace blink
1889 1884
1890 #ifndef NDEBUG 1885 #ifndef NDEBUG
1891 1886
1892 void showTree(const blink::RenderObject* object) 1887 void showTree(const blink::RenderObject* object)
(...skipping 17 matching lines...) Expand all
1910 { 1905 {
1911 if (object1) { 1906 if (object1) {
1912 const blink::RenderObject* root = object1; 1907 const blink::RenderObject* root = object1;
1913 while (root->parent()) 1908 while (root->parent())
1914 root = root->parent(); 1909 root = root->parent();
1915 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 1910 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
1916 } 1911 }
1917 } 1912 }
1918 1913
1919 #endif 1914 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698