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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1515673004: remove duplicate friend declaration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 protected: 272 protected:
273 String debugName(cc::Layer*) const; 273 String debugName(cc::Layer*) const;
274 bool shouldFlattenTransform() const { return m_shouldFlattenTransform; } 274 bool shouldFlattenTransform() const { return m_shouldFlattenTransform; }
275 275
276 explicit GraphicsLayer(GraphicsLayerClient*); 276 explicit GraphicsLayer(GraphicsLayerClient*);
277 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends. 277 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends.
278 friend class GraphicsLayerFactoryChromium; 278 friend class GraphicsLayerFactoryChromium;
279 // for testing 279 // for testing
280 friend class CompositedLayerMappingTest; 280 friend class CompositedLayerMappingTest;
281 friend class FakeGraphicsLayerFactory; 281 friend class FakeGraphicsLayerFactory;
282 friend class CompositedLayerMappingTest;
283 282
284 private: 283 private:
285 // Adds a child without calling updateChildList(), so that adding children 284 // Adds a child without calling updateChildList(), so that adding children
286 // can be batched before updating. 285 // can be batched before updating.
287 void addChildInternal(GraphicsLayer*); 286 void addChildInternal(GraphicsLayer*);
288 287
289 #if ENABLE(ASSERT) 288 #if ENABLE(ASSERT)
290 bool hasAncestor(GraphicsLayer*) const; 289 bool hasAncestor(GraphicsLayer*) const;
291 #endif 290 #endif
292 291
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 }; 381 };
383 382
384 } // namespace blink 383 } // namespace blink
385 384
386 #ifndef NDEBUG 385 #ifndef NDEBUG
387 // Outside the blink namespace for ease of invocation from gdb. 386 // Outside the blink namespace for ease of invocation from gdb.
388 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 387 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
389 #endif 388 #endif
390 389
391 #endif // GraphicsLayer_h 390 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698