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

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

Issue 456733003: Remove the acceleratedCompositingForCanvas setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-compositingforcanvas: . Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderPart.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 2856 matching lines...) Expand 10 before | Expand all | Expand 10 after
2867 } 2867 }
2868 for (RenderObject* curr = slowFirstChild(); curr; curr = curr->nextSibling() ) 2868 for (RenderObject* curr = slowFirstChild(); curr; curr = curr->nextSibling() )
2869 curr->updateDragState(dragOn); 2869 curr->updateDragState(dragOn);
2870 } 2870 }
2871 2871
2872 CompositingState RenderObject::compositingState() const 2872 CompositingState RenderObject::compositingState() const
2873 { 2873 {
2874 return hasLayer() ? toRenderLayerModelObject(this)->layer()->compositingStat e() : NotComposited; 2874 return hasLayer() ? toRenderLayerModelObject(this)->layer()->compositingStat e() : NotComposited;
2875 } 2875 }
2876 2876
2877 CompositingReasons RenderObject::additionalCompositingReasons(CompositingTrigger Flags) const 2877 CompositingReasons RenderObject::additionalCompositingReasons() const
2878 { 2878 {
2879 return CompositingReasonNone; 2879 return CompositingReasonNone;
2880 } 2880 }
2881 2881
2882 bool RenderObject::hitTest(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffse t, HitTestFilter hitTestFilter) 2882 bool RenderObject::hitTest(const HitTestRequest& request, HitTestResult& result, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffse t, HitTestFilter hitTestFilter)
2883 { 2883 {
2884 bool inside = false; 2884 bool inside = false;
2885 if (hitTestFilter != HitTestSelf) { 2885 if (hitTestFilter != HitTestSelf) {
2886 // First test the foreground layer (lines and inlines). 2886 // First test the foreground layer (lines and inlines).
2887 inside = nodeAtPoint(request, result, locationInContainer, accumulatedOf fset, HitTestForeground); 2887 inside = nodeAtPoint(request, result, locationInContainer, accumulatedOf fset, HitTestForeground);
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
3459 { 3459 {
3460 if (object1) { 3460 if (object1) {
3461 const blink::RenderObject* root = object1; 3461 const blink::RenderObject* root = object1;
3462 while (root->parent()) 3462 while (root->parent())
3463 root = root->parent(); 3463 root = root->parent();
3464 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); 3464 root->showRenderTreeAndMark(object1, "*", object2, "-", 0);
3465 } 3465 }
3466 } 3466 }
3467 3467
3468 #endif 3468 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698