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

Side by Side Diff: cc/playback/transform_display_item.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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/largest_display_item.cc ('k') | cc/playback/transform_display_item.cc » ('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 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 #ifndef CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ 5 #ifndef CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ 6 #define CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
7 7
8 #include <stddef.h>
9
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
10 #include "cc/playback/display_item.h" 12 #include "cc/playback/display_item.h"
11 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform.h"
12 14
13 class SkCanvas; 15 class SkCanvas;
14 16
15 namespace cc { 17 namespace cc {
16 18
17 class CC_EXPORT TransformDisplayItem : public DisplayItem { 19 class CC_EXPORT TransformDisplayItem : public DisplayItem {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 base::trace_event::TracedValue* array) const override; 57 base::trace_event::TracedValue* array) const override;
56 size_t ExternalMemoryUsage() const override; 58 size_t ExternalMemoryUsage() const override;
57 59
58 int ApproximateOpCount() const { return 0; } 60 int ApproximateOpCount() const { return 0; }
59 bool IsSuitableForGpuRasterization() const { return true; } 61 bool IsSuitableForGpuRasterization() const { return true; }
60 }; 62 };
61 63
62 } // namespace cc 64 } // namespace cc
63 65
64 #endif // CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_ 66 #endif // CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/playback/largest_display_item.cc ('k') | cc/playback/transform_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698