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

Side by Side Diff: Source/platform/graphics/CompositingReasons.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
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 #include "config.h" 5 #include "config.h"
6 #include "platform/graphics/CompositingReasons.h" 6 #include "platform/graphics/CompositingReasons.h"
7 7
8 #include "wtf/StdLibExtras.h" 8 #include "wtf/StdLibExtras.h"
9 9
10 namespace WebCore { 10 namespace blink {
11 11
12 const CompositingReasonStringMap kCompositingReasonStringMap[] = { 12 const CompositingReasonStringMap kCompositingReasonStringMap[] = {
13 { CompositingReasonNone, 13 { CompositingReasonNone,
14 "Unknown", 14 "Unknown",
15 "No reason given" }, 15 "No reason given" },
16 { CompositingReason3DTransform, 16 { CompositingReason3DTransform,
17 "transform3D", 17 "transform3D",
18 "Has a 3d transform" }, 18 "Has a 3d transform" },
19 { CompositingReasonVideo, 19 { CompositingReasonVideo,
20 "video", 20 "video",
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 { CompositingReasonLayerForScrollingBlockSelection, 184 { CompositingReasonLayerForScrollingBlockSelection,
185 "layerForScrollingBlockSelection", 185 "layerForScrollingBlockSelection",
186 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 186 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
187 { CompositingReasonInlineTransform, 187 { CompositingReasonInlineTransform,
188 "inlineTransform", 188 "inlineTransform",
189 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 189 "Has an inline transform, which causes subsequent layers to assume overl ap" },
190 }; 190 };
191 191
192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 192 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
193 193
194 } // namespace WebCore 194 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/CompositingReasons.h ('k') | Source/platform/graphics/CrossfadeGeneratedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698