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

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

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 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
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 "cc/layers/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/layers/layer_lists.h" 8 #include "cc/layers/layer_lists.h"
9 #include "chrome/browser/android/compositor/layer/thumbnail_layer.h" 9 #include "chrome/browser/android/compositor/layer/thumbnail_layer.h"
10 #include "chrome/browser/android/compositor/tab_content_manager.h" 10 #include "chrome/browser/android/compositor/tab_content_manager.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/geometry/size.h"
12 12
13 namespace chrome { 13 namespace chrome {
14 namespace android { 14 namespace android {
15 15
16 // static 16 // static
17 scoped_refptr<ContentLayer> ContentLayer::Create( 17 scoped_refptr<ContentLayer> ContentLayer::Create(
18 TabContentManager* tab_content_manager) { 18 TabContentManager* tab_content_manager) {
19 return make_scoped_refptr(new ContentLayer(tab_content_manager)); 19 return make_scoped_refptr(new ContentLayer(tab_content_manager));
20 } 20 }
21 21
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 void ContentLayer::ClipStaticLayer(scoped_refptr<ThumbnailLayer> static_layer, 238 void ContentLayer::ClipStaticLayer(scoped_refptr<ThumbnailLayer> static_layer,
239 gfx::Rect clipping) { 239 gfx::Rect clipping) {
240 if (!static_layer.get()) 240 if (!static_layer.get())
241 return; 241 return;
242 static_layer->Clip(clipping); 242 static_layer->Clip(clipping);
243 } 243 }
244 244
245 } // namespace android 245 } // namespace android
246 } // namespace chrome 246 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/android/compositor/layer/content_layer.h ('k') | chrome/browser/android/compositor/layer/tab_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698