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

Side by Side Diff: Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | « Source/core/html/shadow/DateTimeFieldElements.cpp ('k') | Source/core/loader/CookieJar.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 { CompositingReasonLayerForScrollingContainer, "layerForScrollingContain er" }, 284 { CompositingReasonLayerForScrollingContainer, "layerForScrollingContain er" },
285 { CompositingReasonLayerForForeground, "layerForForeground" }, 285 { CompositingReasonLayerForForeground, "layerForForeground" },
286 { CompositingReasonLayerForBackground, "layerForBackground" }, 286 { CompositingReasonLayerForBackground, "layerForBackground" },
287 { CompositingReasonLayerForMask, "layerForMask" }, 287 { CompositingReasonLayerForMask, "layerForMask" },
288 { CompositingReasonLayerForVideoOverlay, "layerForVideoOverlay" } 288 { CompositingReasonLayerForVideoOverlay, "layerForVideoOverlay" }
289 }; 289 };
290 290
291 const GraphicsLayer* graphicsLayer = layerById(errorString, layerId); 291 const GraphicsLayer* graphicsLayer = layerById(errorString, layerId);
292 if (!graphicsLayer) 292 if (!graphicsLayer)
293 return; 293 return;
294 WebKit::WebCompositingReasons reasonsBitmask = graphicsLayer->compositingRea sons(); 294 blink::WebCompositingReasons reasonsBitmask = graphicsLayer->compositingReas ons();
295 reasonStrings = TypeBuilder::Array<String>::create(); 295 reasonStrings = TypeBuilder::Array<String>::create();
296 for (size_t i = 0; i < WTF_ARRAY_LENGTH(compositingReasonNames); ++i) { 296 for (size_t i = 0; i < WTF_ARRAY_LENGTH(compositingReasonNames); ++i) {
297 if (!(reasonsBitmask & compositingReasonNames[i].mask)) 297 if (!(reasonsBitmask & compositingReasonNames[i].mask))
298 continue; 298 continue;
299 reasonStrings->addItem(compositingReasonNames[i].protocolName); 299 reasonStrings->addItem(compositingReasonNames[i].protocolName);
300 #ifndef _NDEBUG 300 #ifndef _NDEBUG
301 reasonsBitmask &= ~compositingReasonNames[i].mask; 301 reasonsBitmask &= ~compositingReasonNames[i].mask;
302 #endif 302 #endif
303 } 303 }
304 ASSERT(!reasonsBitmask); 304 ASSERT(!reasonsBitmask);
305 } 305 }
306 306
307 } // namespace WebCore 307 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeFieldElements.cpp ('k') | Source/core/loader/CookieJar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698