OLD | NEW |
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 #include "cc/blink/web_content_layer_impl.h" | 5 #include "cc/blink/web_content_layer_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "cc/base/switches.h" | 10 #include "cc/base/switches.h" |
9 #include "cc/blink/web_display_item_list_impl.h" | 11 #include "cc/blink/web_display_item_list_impl.h" |
10 #include "cc/layers/picture_layer.h" | 12 #include "cc/layers/picture_layer.h" |
11 #include "cc/playback/display_item_list_settings.h" | 13 #include "cc/playback/display_item_list_settings.h" |
12 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" | 14 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" |
13 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 15 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
14 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 16 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
15 #include "third_party/WebKit/public/platform/WebRect.h" | 17 #include "third_party/WebKit/public/platform/WebRect.h" |
16 #include "third_party/WebKit/public/platform/WebSize.h" | 18 #include "third_party/WebKit/public/platform/WebSize.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 82 |
81 bool WebContentLayerImpl::FillsBoundsCompletely() const { | 83 bool WebContentLayerImpl::FillsBoundsCompletely() const { |
82 return false; | 84 return false; |
83 } | 85 } |
84 | 86 |
85 size_t WebContentLayerImpl::GetApproximateUnsharedMemoryUsage() const { | 87 size_t WebContentLayerImpl::GetApproximateUnsharedMemoryUsage() const { |
86 return client_->approximateUnsharedMemoryUsage(); | 88 return client_->approximateUnsharedMemoryUsage(); |
87 } | 89 } |
88 | 90 |
89 } // namespace cc_blink | 91 } // namespace cc_blink |
OLD | NEW |