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

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

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/tiled_layer_impl.h" 5 #include "cc/layers/tiled_layer_impl.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "cc/base/math_util.h" 9 #include "cc/base/math_util.h"
10 #include "cc/debug/debug_colors.h" 10 #include "cc/debug/debug_colors.h"
11 #include "cc/layers/append_quads_data.h" 11 #include "cc/layers/append_quads_data.h"
12 #include "cc/quads/checkerboard_draw_quad.h" 12 #include "cc/quads/checkerboard_draw_quad.h"
13 #include "cc/quads/debug_border_draw_quad.h" 13 #include "cc/quads/debug_border_draw_quad.h"
14 #include "cc/quads/solid_color_draw_quad.h" 14 #include "cc/quads/solid_color_draw_quad.h"
15 #include "cc/quads/tile_draw_quad.h" 15 #include "cc/quads/tile_draw_quad.h"
16 #include "cc/resources/layer_tiling_data.h" 16 #include "cc/resources/layer_tiling_data.h"
17 #include "cc/trees/occlusion_tracker.h" 17 #include "cc/trees/occlusion_tracker.h"
18 #include "third_party/khronos/GLES2/gl2.h" 18 #include "third_party/khronos/GLES2/gl2.h"
19 #include "third_party/skia/include/core/SkColor.h" 19 #include "third_party/skia/include/core/SkColor.h"
20 #include "ui/gfx/quad_f.h" 20 #include "ui/gfx/geometry/quad_f.h"
21 21
22 namespace cc { 22 namespace cc {
23 23
24 class DrawableTile : public LayerTilingData::Tile { 24 class DrawableTile : public LayerTilingData::Tile {
25 public: 25 public:
26 static scoped_ptr<DrawableTile> Create() { 26 static scoped_ptr<DrawableTile> Create() {
27 return make_scoped_ptr(new DrawableTile()); 27 return make_scoped_ptr(new DrawableTile());
28 } 28 }
29 29
30 ResourceProvider::ResourceId resource_id() const { return resource_id_; } 30 ResourceProvider::ResourceId resource_id() const { return resource_id_; }
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 308
309 void TiledLayerImpl::ReleaseResources() { 309 void TiledLayerImpl::ReleaseResources() {
310 tiler_->reset(); 310 tiler_->reset();
311 } 311 }
312 312
313 const char* TiledLayerImpl::LayerTypeAsString() const { 313 const char* TiledLayerImpl::LayerTypeAsString() const {
314 return "cc::TiledLayerImpl"; 314 return "cc::TiledLayerImpl";
315 } 315 }
316 316
317 } // namespace cc 317 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698