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

Side by Side Diff: cc/playback/picture.cc

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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 | « cc/playback/picture.h ('k') | cc/playback/picture_pile.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/resources/picture.h" 5 #include "cc/playback/picture.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/trace_event/trace_event.h" 11 #include "base/trace_event/trace_event.h"
12 #include "base/trace_event/trace_event_argument.h" 12 #include "base/trace_event/trace_event_argument.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "cc/base/math_util.h" 14 #include "cc/base/math_util.h"
15 #include "cc/base/util.h" 15 #include "cc/base/util.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 scoped_refptr<base::trace_event::ConvertableToTraceFormat> 331 scoped_refptr<base::trace_event::ConvertableToTraceFormat>
332 Picture::AsTraceableRecordData() const { 332 Picture::AsTraceableRecordData() const {
333 scoped_refptr<base::trace_event::TracedValue> record_data = 333 scoped_refptr<base::trace_event::TracedValue> record_data =
334 new base::trace_event::TracedValue(); 334 new base::trace_event::TracedValue();
335 TracedValue::SetIDRef(this, record_data.get(), "picture_id"); 335 TracedValue::SetIDRef(this, record_data.get(), "picture_id");
336 MathUtil::AddToTracedValue("layer_rect", layer_rect_, record_data.get()); 336 MathUtil::AddToTracedValue("layer_rect", layer_rect_, record_data.get());
337 return record_data; 337 return record_data;
338 } 338 }
339 339
340 } // namespace cc 340 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/picture.h ('k') | cc/playback/picture_pile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698