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

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

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.h ('k') | cc/layers/io_surface_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/heads_up_display_layer_impl.h" 5 #include "cc/layers/heads_up_display_layer_impl.h"
6 6
7 #include <algorithm>
8 #include <vector>
9
7 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
8 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
9 #include "cc/debug/debug_colors.h" 12 #include "cc/debug/debug_colors.h"
10 #include "cc/debug/debug_rect_history.h" 13 #include "cc/debug/debug_rect_history.h"
11 #include "cc/debug/frame_rate_counter.h" 14 #include "cc/debug/frame_rate_counter.h"
12 #include "cc/debug/paint_time_counter.h" 15 #include "cc/debug/paint_time_counter.h"
13 #include "cc/layers/quad_sink.h" 16 #include "cc/layers/quad_sink.h"
14 #include "cc/output/renderer.h" 17 #include "cc/output/renderer.h"
15 #include "cc/quads/texture_draw_quad.h" 18 #include "cc/quads/texture_draw_quad.h"
16 #include "cc/resources/memory_history.h" 19 #include "cc/resources/memory_history.h"
17 #include "cc/resources/tile_manager.h" 20 #include "cc/resources/tile_manager.h"
18 #include "cc/trees/layer_tree_impl.h" 21 #include "cc/trees/layer_tree_impl.h"
19 #include "skia/ext/platform_canvas.h" 22 #include "skia/ext/platform_canvas.h"
20 #include "skia/ext/platform_canvas.h"
21 #include "third_party/khronos/GLES2/gl2.h" 23 #include "third_party/khronos/GLES2/gl2.h"
22 #include "third_party/khronos/GLES2/gl2ext.h" 24 #include "third_party/khronos/GLES2/gl2ext.h"
23 #include "third_party/skia/include/core/SkBitmap.h" 25 #include "third_party/skia/include/core/SkBitmap.h"
24 #include "third_party/skia/include/core/SkPaint.h" 26 #include "third_party/skia/include/core/SkPaint.h"
25 #include "third_party/skia/include/core/SkTypeface.h" 27 #include "third_party/skia/include/core/SkTypeface.h"
26 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" 28 #include "third_party/skia/include/effects/SkColorMatrixFilter.h"
27 #include "ui/gfx/point.h" 29 #include "ui/gfx/point.h"
28 #include "ui/gfx/size.h" 30 #include "ui/gfx/size.h"
29 31
30 namespace cc { 32 namespace cc {
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 } 690 }
689 691
690 canvas->restore(); 692 canvas->restore();
691 } 693 }
692 694
693 const char* HeadsUpDisplayLayerImpl::LayerTypeAsString() const { 695 const char* HeadsUpDisplayLayerImpl::LayerTypeAsString() const {
694 return "HeadsUpDisplayLayer"; 696 return "HeadsUpDisplayLayer";
695 } 697 }
696 698
697 } // namespace cc 699 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.h ('k') | cc/layers/io_surface_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698