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

Side by Side Diff: cc/blimp/deserialized_content_layer_client.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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/blimp/deserialized_content_layer_client.h ('k') | cc/blimp/engine_picture_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cc/blimp/deserialized_content_layer_client.h"
6
7 namespace cc {
8
9 DeserializedContentLayerClient::DeserializedContentLayerClient() = default;
10
11 DeserializedContentLayerClient::~DeserializedContentLayerClient() = default;
12
13 void DeserializedContentLayerClient::UpdateDisplayListAndRecordedViewport(
14 scoped_refptr<DisplayItemList> display_list,
15 gfx::Rect recorded_viewport) {
16 display_list_ = std::move(display_list);
17 recorded_viewport_ = recorded_viewport;
18 }
19
20 gfx::Rect DeserializedContentLayerClient::PaintableRegion() {
21 return recorded_viewport_;
22 }
23
24 scoped_refptr<DisplayItemList>
25 DeserializedContentLayerClient::PaintContentsToDisplayList(
26 PaintingControlSetting painting_status) {
27 return display_list_;
28 }
29
30 bool DeserializedContentLayerClient::FillsBoundsCompletely() const {
31 return false;
32 }
33
34 size_t DeserializedContentLayerClient::GetApproximateUnsharedMemoryUsage()
35 const {
36 return 0;
37 }
38
39 } // namespace cc
OLDNEW
« no previous file with comments | « cc/blimp/deserialized_content_layer_client.h ('k') | cc/blimp/engine_picture_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698