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

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

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export info for frameviewer too Created 6 years, 4 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 | « no previous file | cc/blink/web_layer_impl.cc » ('j') | cc/layers/layer.cc » ('J')
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 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 static bool UsingPictureLayer(); 52 static bool UsingPictureLayer();
53 CC_BLINK_EXPORT static void SetImplSidePaintingEnabled(bool enabled); 53 CC_BLINK_EXPORT static void SetImplSidePaintingEnabled(bool enabled);
54 54
55 CC_BLINK_EXPORT cc::Layer* layer() const; 55 CC_BLINK_EXPORT cc::Layer* layer() const;
56 56
57 // WebLayer implementation. 57 // WebLayer implementation.
58 virtual int id() const; 58 virtual int id() const;
59 virtual void invalidateRect(const blink::WebFloatRect&); 59 virtual void invalidateRect(const blink::WebFloatRect&);
60 virtual void invalidate(); 60 virtual void invalidate();
61 virtual void setIncludesFirstPaintInvalidation();
61 virtual void addChild(blink::WebLayer* child); 62 virtual void addChild(blink::WebLayer* child);
62 virtual void insertChild(blink::WebLayer* child, size_t index); 63 virtual void insertChild(blink::WebLayer* child, size_t index);
63 virtual void replaceChild(blink::WebLayer* reference, 64 virtual void replaceChild(blink::WebLayer* reference,
64 blink::WebLayer* new_layer); 65 blink::WebLayer* new_layer);
65 virtual void removeFromParent(); 66 virtual void removeFromParent();
66 virtual void removeAllChildren(); 67 virtual void removeAllChildren();
67 virtual void setBounds(const blink::WebSize& bounds); 68 virtual void setBounds(const blink::WebSize& bounds);
68 virtual blink::WebSize bounds() const; 69 virtual blink::WebSize bounds() const;
69 virtual void setMasksToBounds(bool masks_to_bounds); 70 virtual void setMasksToBounds(bool masks_to_bounds);
70 virtual bool masksToBounds() const; 71 virtual bool masksToBounds() const;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 144
144 private: 145 private:
145 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 146 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 148 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
148 }; 149 };
149 150
150 } // namespace cc_blink 151 } // namespace cc_blink
151 152
152 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 153 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698