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

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

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class SkPictureRecorder; 49 class SkPictureRecorder;
50 50
51 namespace gpu { 51 namespace gpu {
52 namespace gles2 { 52 namespace gles2 {
53 class GLES2Interface; 53 class GLES2Interface;
54 } 54 }
55 } 55 }
56 56
57 namespace blink { 57 namespace blink {
58 58
59 class Canvas2DLayerBridgeHistogramLogger;
60 class Canvas2DLayerBridgeTest; 59 class Canvas2DLayerBridgeTest;
61 class ImageBuffer; 60 class ImageBuffer;
62 class WebGraphicsContext3DProvider; 61 class WebGraphicsContext3DProvider;
63 class SharedContextRateLimiter; 62 class SharedContextRateLimiter;
64 63
65 #if OS(MACOSX) 64 #if OS(MACOSX)
66 // Canvas hibernation is currently disabled on MacOS X due to a bug that causes 65 // Canvas hibernation is currently disabled on MacOS X due to a bug that causes
67 // content loss. TODO: Find a better fix for crbug.com/588434 66 // content loss. TODO: Find a better fix for crbug.com/588434
68 #define CANVAS2D_HIBERNATION_ENABLED 0 67 #define CANVAS2D_HIBERNATION_ENABLED 0
69 68
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Each element in this vector represents an IOSurface backed texture that 293 // Each element in this vector represents an IOSurface backed texture that
295 // is ready to be reused. 294 // is ready to be reused.
296 // Elements in this vector can safely be purged in low memory conditions. 295 // Elements in this vector can safely be purged in low memory conditions.
297 Vector<RefPtr<ImageInfo>> m_imageInfoCache; 296 Vector<RefPtr<ImageInfo>> m_imageInfoCache;
298 #endif // USE_IOSURFACE_FOR_2D_CANVAS 297 #endif // USE_IOSURFACE_FOR_2D_CANVAS
299 }; 298 };
300 299
301 } // namespace blink 300 } // namespace blink
302 301
303 #endif 302 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698