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

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

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . Created 5 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
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 namespace cc_blink { 45 namespace cc_blink {
46 46
47 class WebToCCAnimationDelegateAdapter; 47 class WebToCCAnimationDelegateAdapter;
48 48
49 class WebLayerImpl : public blink::WebLayer, public cc::LayerClient { 49 class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
50 public: 50 public:
51 CC_BLINK_EXPORT WebLayerImpl(); 51 CC_BLINK_EXPORT WebLayerImpl();
52 CC_BLINK_EXPORT explicit WebLayerImpl(scoped_refptr<cc::Layer>); 52 CC_BLINK_EXPORT explicit WebLayerImpl(scoped_refptr<cc::Layer>);
53 virtual ~WebLayerImpl(); 53 virtual ~WebLayerImpl();
54 54
55 static bool UsingPictureLayer();
56 CC_BLINK_EXPORT static void SetImplSidePaintingEnabled(bool enabled);
57
58 CC_BLINK_EXPORT static void SetLayerSettings( 55 CC_BLINK_EXPORT static void SetLayerSettings(
59 const cc::LayerSettings& settings); 56 const cc::LayerSettings& settings);
60 CC_BLINK_EXPORT static const cc::LayerSettings& LayerSettings(); 57 CC_BLINK_EXPORT static const cc::LayerSettings& LayerSettings();
61 58
62 CC_BLINK_EXPORT cc::Layer* layer() const; 59 CC_BLINK_EXPORT cc::Layer* layer() const;
63 60
64 // WebLayer implementation. 61 // WebLayer implementation.
65 virtual int id() const; 62 virtual int id() const;
66 virtual void invalidateRect(const blink::WebRect&); 63 virtual void invalidateRect(const blink::WebRect&);
67 virtual void invalidate(); 64 virtual void invalidate();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 154
158 private: 155 private:
159 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 156 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
160 157
161 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 158 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
162 }; 159 };
163 160
164 } // namespace cc_blink 161 } // namespace cc_blink
165 162
166 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 163 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_image_layer_impl.cc ('k') | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698