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

Side by Side Diff: chrome/browser/android/compositor/layer/content_layer.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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 | « chrome/browser/android/compositor/DEPS ('k') | chrome/browser/android/compositor/layer/layer.h » ('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 #include "chrome/browser/android/compositor/layer/content_layer.h" 5 #include "chrome/browser/android/compositor/layer/content_layer.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "cc/base/filter_operations.h"
8 #include "cc/layers/layer.h" 9 #include "cc/layers/layer.h"
9 #include "cc/layers/layer_collections.h" 10 #include "cc/layers/layer_collections.h"
10 #include "cc/layers/surface_layer.h" 11 #include "cc/layers/surface_layer.h"
11 #include "cc/output/filter_operations.h"
12 #include "chrome/browser/android/compositor/layer/thumbnail_layer.h" 12 #include "chrome/browser/android/compositor/layer/thumbnail_layer.h"
13 #include "chrome/browser/android/compositor/tab_content_manager.h" 13 #include "chrome/browser/android/compositor/tab_content_manager.h"
14 #include "content/public/browser/android/compositor.h" 14 #include "content/public/browser/android/compositor.h"
15 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
16 16
17 namespace android { 17 namespace android {
18 18
19 // static 19 // static
20 scoped_refptr<ContentLayer> ContentLayer::Create( 20 scoped_refptr<ContentLayer> ContentLayer::Create(
21 TabContentManager* tab_content_manager) { 21 TabContentManager* tab_content_manager) {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 ContentLayer::ContentLayer(TabContentManager* tab_content_manager) 133 ContentLayer::ContentLayer(TabContentManager* tab_content_manager)
134 : layer_(cc::Layer::Create()), 134 : layer_(cc::Layer::Create()),
135 tab_content_manager_(tab_content_manager) {} 135 tab_content_manager_(tab_content_manager) {}
136 136
137 ContentLayer::~ContentLayer() { 137 ContentLayer::~ContentLayer() {
138 } 138 }
139 139
140 } // namespace android 140 } // namespace android
OLDNEW
« no previous file with comments | « chrome/browser/android/compositor/DEPS ('k') | chrome/browser/android/compositor/layer/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698