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

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

Issue 18120002: Use a direct include of time headers in cc/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/input/top_controls_manager_unittest.cc ('k') | cc/layers/heads_up_display_layer_impl.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/content_layer.h" 5 #include "cc/layers/content_layer.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/time.h" 9 #include "base/time/time.h"
10 #include "cc/layers/content_layer_client.h" 10 #include "cc/layers/content_layer_client.h"
11 #include "cc/resources/bitmap_content_layer_updater.h" 11 #include "cc/resources/bitmap_content_layer_updater.h"
12 #include "cc/resources/bitmap_skpicture_content_layer_updater.h" 12 #include "cc/resources/bitmap_skpicture_content_layer_updater.h"
13 #include "cc/resources/layer_painter.h" 13 #include "cc/resources/layer_painter.h"
14 #include "cc/trees/layer_tree_host.h" 14 #include "cc/trees/layer_tree_host.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 ContentLayerPainter::ContentLayerPainter(ContentLayerClient* client) 18 ContentLayerPainter::ContentLayerPainter(ContentLayerClient* client)
19 : client_(client) {} 19 : client_(client) {}
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 can_use_lcd_text_last_frame_ = can_use_lcd_text(); 140 can_use_lcd_text_last_frame_ = can_use_lcd_text();
141 if (client_) 141 if (client_)
142 client_->DidChangeLayerCanUseLCDText(); 142 client_->DidChangeLayerCanUseLCDText();
143 } 143 }
144 144
145 bool ContentLayer::SupportsLCDText() const { 145 bool ContentLayer::SupportsLCDText() const {
146 return true; 146 return true;
147 } 147 }
148 148
149 } // namespace cc 149 } // namespace cc
OLDNEW
« no previous file with comments | « cc/input/top_controls_manager_unittest.cc ('k') | cc/layers/heads_up_display_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698