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

Side by Side Diff: sky/engine/public/platform/WebLayer.h

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland Created 6 years, 1 month 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/platform/graphics/GraphicsLayer.cpp ('k') | sky/viewer/cc/web_layer_impl.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 virtual void setMaskLayer(WebLayer*) = 0; 78 virtual void setMaskLayer(WebLayer*) = 0;
79 virtual void setReplicaLayer(WebLayer*) = 0; 79 virtual void setReplicaLayer(WebLayer*) = 0;
80 80
81 virtual void setOpacity(float) = 0; 81 virtual void setOpacity(float) = 0;
82 virtual float opacity() const = 0; 82 virtual float opacity() const = 0;
83 83
84 virtual void setBlendMode(WebBlendMode) = 0; 84 virtual void setBlendMode(WebBlendMode) = 0;
85 virtual WebBlendMode blendMode() const = 0; 85 virtual WebBlendMode blendMode() const = 0;
86 86
87 virtual void setIsRootForIsolatedGroup(bool) = 0;
88 virtual bool isRootForIsolatedGroup() = 0;
89
90 virtual void setOpaque(bool) = 0; 87 virtual void setOpaque(bool) = 0;
91 virtual bool opaque() const = 0; 88 virtual bool opaque() const = 0;
92 89
93 virtual void setPosition(const WebFloatPoint&) = 0; 90 virtual void setPosition(const WebFloatPoint&) = 0;
94 virtual WebFloatPoint position() const = 0; 91 virtual WebFloatPoint position() const = 0;
95 92
96 virtual void setTransform(const SkMatrix44&) = 0; 93 virtual void setTransform(const SkMatrix44&) = 0;
97 virtual SkMatrix44 transform() const = 0; 94 virtual SkMatrix44 transform() const = 0;
98 95
99 virtual void setTransformOrigin(const WebFloatPoint3D&) { } 96 virtual void setTransformOrigin(const WebFloatPoint3D&) { }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 177
181 // True if the layer is not part of a tree attached to a WebLayerTreeView. 178 // True if the layer is not part of a tree attached to a WebLayerTreeView.
182 virtual bool isOrphan() const = 0; 179 virtual bool isOrphan() const = 0;
183 180
184 virtual void setWebLayerClient(WebLayerClient*) = 0; 181 virtual void setWebLayerClient(WebLayerClient*) = 0;
185 }; 182 };
186 183
187 } // namespace blink 184 } // namespace blink
188 185
189 #endif // WebLayer_h 186 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/GraphicsLayer.cpp ('k') | sky/viewer/cc/web_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698