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

Side by Side Diff: cc/layers/empty_content_layer_client.cc

Issue 1835843002: WIP: Fix foreignObject cullrect Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/debug/rasterize_and_record_benchmark.cc ('k') | cc/layers/picture_image_layer.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "cc/layers/empty_content_layer_client.h" 5 #include "cc/layers/empty_content_layer_client.h"
6 6
7 #include "cc/playback/display_item_list.h" 7 #include "cc/playback/display_item_list.h"
8 #include "cc/playback/display_item_list_settings.h" 8 #include "cc/playback/display_item_list_settings.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 EmptyContentLayerClient::~EmptyContentLayerClient() {} 25 EmptyContentLayerClient::~EmptyContentLayerClient() {}
26 26
27 gfx::Rect EmptyContentLayerClient::PaintableRegion() { 27 gfx::Rect EmptyContentLayerClient::PaintableRegion() {
28 return gfx::Rect(); 28 return gfx::Rect();
29 } 29 }
30 30
31 scoped_refptr<DisplayItemList> 31 scoped_refptr<DisplayItemList>
32 EmptyContentLayerClient::PaintContentsToDisplayList( 32 EmptyContentLayerClient::PaintContentsToDisplayList(
33 PaintingControlSetting painting_status) { 33 PaintingControlSetting painting_status) {
34 return DisplayItemList::Create(gfx::Rect(), DisplayItemListSettings()); 34 return DisplayItemList::Create(DisplayItemListSettings());
35 } 35 }
36 36
37 bool EmptyContentLayerClient::FillsBoundsCompletely() const { 37 bool EmptyContentLayerClient::FillsBoundsCompletely() const {
38 return false; 38 return false;
39 } 39 }
40 40
41 size_t EmptyContentLayerClient::GetApproximateUnsharedMemoryUsage() const { 41 size_t EmptyContentLayerClient::GetApproximateUnsharedMemoryUsage() const {
42 return 0u; 42 return 0u;
43 } 43 }
44 44
45 } // namespace cc 45 } // namespace cc
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark.cc ('k') | cc/layers/picture_image_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698