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

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

Issue 1409713002: cc: Remove cc::ContentLayerClient::PaintContents(SkCanvas*, ...). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | cc/blink/web_content_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_CONTENT_LAYER_IMPL_H_ 5 #ifndef CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_
6 #define CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ 6 #define CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/blink/cc_blink_export.h" 9 #include "cc/blink/cc_blink_export.h"
10 #include "cc/blink/web_layer_impl.h" 10 #include "cc/blink/web_layer_impl.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
28 CC_BLINK_EXPORT explicit WebContentLayerImpl(blink::WebContentLayerClient*); 28 CC_BLINK_EXPORT explicit WebContentLayerImpl(blink::WebContentLayerClient*);
29 29
30 // WebContentLayer implementation. 30 // WebContentLayer implementation.
31 blink::WebLayer* layer() override; 31 blink::WebLayer* layer() override;
32 void setDoubleSided(bool double_sided) override; 32 void setDoubleSided(bool double_sided) override;
33 33
34 protected: 34 protected:
35 ~WebContentLayerImpl() override; 35 ~WebContentLayerImpl() override;
36 36
37 // ContentLayerClient implementation.
danakj 2015/10/15 19:52:52 Keep the comment, it's for all the overrides in th
jbroman 2015/10/15 20:19:00 Whoops, fat fingered that.
38 void PaintContents(SkCanvas* canvas,
39 const gfx::Rect& clip,
40 PaintingControlSetting painting_control) override;
41 scoped_refptr<cc::DisplayItemList> PaintContentsToDisplayList( 37 scoped_refptr<cc::DisplayItemList> PaintContentsToDisplayList(
42 const gfx::Rect& clip, 38 const gfx::Rect& clip,
43 PaintingControlSetting painting_control) override; 39 PaintingControlSetting painting_control) override;
44 bool FillsBoundsCompletely() const override; 40 bool FillsBoundsCompletely() const override;
45 size_t GetApproximateUnsharedMemoryUsage() const override; 41 size_t GetApproximateUnsharedMemoryUsage() const override;
46 42
47 scoped_ptr<WebLayerImpl> layer_; 43 scoped_ptr<WebLayerImpl> layer_;
48 blink::WebContentLayerClient* client_; 44 blink::WebContentLayerClient* client_;
49 bool draws_content_; 45 bool draws_content_;
50 46
51 private: 47 private:
52 DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl); 48 DISALLOW_COPY_AND_ASSIGN(WebContentLayerImpl);
53 }; 49 };
54 50
55 } // namespace cc_blink 51 } // namespace cc_blink
56 52
57 #endif // CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_ 53 #endif // CC_BLINK_WEB_CONTENT_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_content_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698