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

Side by Side Diff: Source/core/testing/Internals.cpp

Issue 322163003: Rename AncestorDependentProperties to CompositingInputs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar renaming Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 exceptionState.throwDOMException(InvalidAccessError, "No render layer ca n be obtained from the provided element."); 1688 exceptionState.throwDOMException(InvalidAccessError, "No render layer ca n be obtained from the provided element.");
1689 return 0; 1689 return 0;
1690 } 1690 }
1691 1691
1692 // We used to compute isUnclippedDescendant only when acceleratedCompositing ForOverflowScrollEnabled, 1692 // We used to compute isUnclippedDescendant only when acceleratedCompositing ForOverflowScrollEnabled,
1693 // but now we compute it all the time. 1693 // but now we compute it all the time.
1694 // FIXME: Remove this if statement and rebaseline the tests that make this a ssumption. 1694 // FIXME: Remove this if statement and rebaseline the tests that make this a ssumption.
1695 if (!layer->compositor()->acceleratedCompositingForOverflowScrollEnabled()) 1695 if (!layer->compositor()->acceleratedCompositingForOverflowScrollEnabled())
1696 return false; 1696 return false;
1697 1697
1698 return layer->ancestorDependentProperties().isUnclippedDescendant; 1698 return layer->compositingInputs().isUnclippedDescendant;
1699 } 1699 }
1700 1700
1701 String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionS tate& exceptionState) const 1701 String Internals::layerTreeAsText(Document* document, unsigned flags, ExceptionS tate& exceptionState) const
1702 { 1702 {
1703 if (!document || !document->frame()) { 1703 if (!document || !document->frame()) {
1704 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc ument's frame cannot be retrieved." : "The document provided is invalid."); 1704 exceptionState.throwDOMException(InvalidAccessError, document ? "The doc ument's frame cannot be retrieved." : "The document provided is invalid.");
1705 return String(); 1705 return String();
1706 } 1706 }
1707 1707
1708 document->view()->updateLayoutAndStyleForPainting(); 1708 document->view()->updateLayoutAndStyleForPainting();
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
2368 } else if (type == "none") { 2368 } else if (type == "none") {
2369 webtype = blink::ConnectionTypeNone; 2369 webtype = blink::ConnectionTypeNone;
2370 } else { 2370 } else {
2371 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile dToEnumerate("connection type", type)); 2371 exceptionState.throwDOMException(NotFoundError, ExceptionMessages::faile dToEnumerate("connection type", type));
2372 return; 2372 return;
2373 } 2373 }
2374 networkStateNotifier().setWebConnectionTypeForTest(webtype); 2374 networkStateNotifier().setWebConnectionTypeForTest(webtype);
2375 } 2375 }
2376 2376
2377 } // namespace WebCore 2377 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698