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

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

Issue 15012010: Remove the CSS_COMPOSITING define, leaving the implementation under the runtime flag, since runtime… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed bogus test Created 7 years, 7 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/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/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, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights 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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } 582 bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); }
583 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip(); } 583 bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip(); }
584 584
585 bool hasTransform() const { return m_bitfields.hasTransform(); } 585 bool hasTransform() const { return m_bitfields.hasTransform(); }
586 bool hasMask() const { return style() && style()->hasMask(); } 586 bool hasMask() const { return style() && style()->hasMask(); }
587 bool hasClipPath() const { return style() && style()->clipPath(); } 587 bool hasClipPath() const { return style() && style()->clipPath(); }
588 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili ty() == BackfaceVisibilityHidden; } 588 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili ty() == BackfaceVisibilityHidden; }
589 589
590 bool hasFilter() const { return style() && style()->hasFilter(); } 590 bool hasFilter() const { return style() && style()->hasFilter(); }
591 591
592 #if ENABLE(CSS_COMPOSITING) 592 bool hasBlendMode() const;
593 bool hasBlendMode() const { return style() && style()->hasBlendMode(); }
594 #else
595 bool hasBlendMode() const { return false; }
596 #endif
597 593
598 inline bool preservesNewline() const; 594 inline bool preservesNewline() const;
599 595
600 // The pseudo element style can be cached or uncached. Use the cached metho d if the pseudo element doesn't respect 596 // The pseudo element style can be cached or uncached. Use the cached metho d if the pseudo element doesn't respect
601 // any pseudo classes (and therefore has no concept of changing state). 597 // any pseudo classes (and therefore has no concept of changing state).
602 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co nst; 598 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co nst;
603 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const; 599 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const;
604 600
605 virtual void updateDragState(bool dragOn); 601 virtual void updateDragState(bool dragOn);
606 602
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // Outside the WebCore namespace for ease of invocation from gdb. 1327 // Outside the WebCore namespace for ease of invocation from gdb.
1332 void showTree(const WebCore::RenderObject*); 1328 void showTree(const WebCore::RenderObject*);
1333 void showLineTree(const WebCore::RenderObject*); 1329 void showLineTree(const WebCore::RenderObject*);
1334 void showRenderTree(const WebCore::RenderObject* object1); 1330 void showRenderTree(const WebCore::RenderObject* object1);
1335 // We don't make object2 an optional parameter so that showRenderTree 1331 // We don't make object2 an optional parameter so that showRenderTree
1336 // can be called from gdb easily. 1332 // can be called from gdb easily.
1337 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1333 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1338 #endif 1334 #endif
1339 1335
1340 #endif // RenderObject_h 1336 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698