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

Side by Side Diff: cc/blink/web_layer_impl.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error. Created 5 years 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 | « cc/animation/mutable_properties.h ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_ 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_
6 #define CC_BLINK_WEB_LAYER_IMPL_H_ 6 #define CC_BLINK_WEB_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 const override; 140 const override;
141 void setIsContainerForFixedPositionLayers(bool is_container) override; 141 void setIsContainerForFixedPositionLayers(bool is_container) override;
142 bool isContainerForFixedPositionLayers() const override; 142 bool isContainerForFixedPositionLayers() const override;
143 void setPositionConstraint( 143 void setPositionConstraint(
144 const blink::WebLayerPositionConstraint& constraint) override; 144 const blink::WebLayerPositionConstraint& constraint) override;
145 blink::WebLayerPositionConstraint positionConstraint() const override; 145 blink::WebLayerPositionConstraint positionConstraint() const override;
146 void setScrollClient(blink::WebLayerScrollClient* client) override; 146 void setScrollClient(blink::WebLayerScrollClient* client) override;
147 bool isOrphan() const override; 147 bool isOrphan() const override;
148 void setLayerClient(cc::LayerClient* client) override; 148 void setLayerClient(cc::LayerClient* client) override;
149 const cc::Layer* ccLayer() const override; 149 const cc::Layer* ccLayer() const override;
150 void setElementId(uint64_t id) override;
151 uint64_t elementId() const override;
152 void setCompositorMutableProperties(uint32_t properties) override;
153 uint32_t compositorMutableProperties() const override;
150 154
151 void setScrollParent(blink::WebLayer* parent) override; 155 void setScrollParent(blink::WebLayer* parent) override;
152 void setClipParent(blink::WebLayer* parent) override; 156 void setClipParent(blink::WebLayer* parent) override;
153 157
154 protected: 158 protected:
155 scoped_refptr<cc::Layer> layer_; 159 scoped_refptr<cc::Layer> layer_;
156 160
157 bool contents_opaque_is_fixed_; 161 bool contents_opaque_is_fixed_;
158 162
159 private: 163 private:
160 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
161 165
162 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
163 }; 167 };
164 168
165 } // namespace cc_blink 169 } // namespace cc_blink
166 170
167 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/animation/mutable_properties.h ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698