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

Side by Side Diff: Source/platform/graphics/ImageBufferSurface.h

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 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "platform/geometry/IntSize.h" 35 #include "platform/geometry/IntSize.h"
36 #include "platform/graphics/GraphicsTypes3D.h" 36 #include "platform/graphics/GraphicsTypes3D.h"
37 #include "wtf/FastAllocBase.h" 37 #include "wtf/FastAllocBase.h"
38 #include "wtf/Noncopyable.h" 38 #include "wtf/Noncopyable.h"
39 39
40 class SkCanvas; 40 class SkCanvas;
41 class SkBitmap; 41 class SkBitmap;
42 42
43 namespace blink { class WebLayer; } 43 namespace blink { class WebLayer; }
44 44
45 namespace WebCore { 45 namespace blink {
46 46
47 class ImageBuffer; 47 class ImageBuffer;
48 48
49 enum OpacityMode { 49 enum OpacityMode {
50 NonOpaque, 50 NonOpaque,
51 Opaque, 51 Opaque,
52 }; 52 };
53 53
54 class PLATFORM_EXPORT ImageBufferSurface { 54 class PLATFORM_EXPORT ImageBufferSurface {
55 WTF_MAKE_NONCOPYABLE(ImageBufferSurface); WTF_MAKE_FAST_ALLOCATED; 55 WTF_MAKE_NONCOPYABLE(ImageBufferSurface); WTF_MAKE_FAST_ALLOCATED;
(...skipping 22 matching lines...) Expand all
78 78
79 protected: 79 protected:
80 ImageBufferSurface(const IntSize&, OpacityMode); 80 ImageBufferSurface(const IntSize&, OpacityMode);
81 void clear(); 81 void clear();
82 82
83 private: 83 private:
84 OpacityMode m_opacityMode; 84 OpacityMode m_opacityMode;
85 IntSize m_size; 85 IntSize m_size;
86 }; 86 };
87 87
88 } // namespace WebCore 88 } // namespace blink
89 89
90 #endif 90 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/ImageBufferClient.h ('k') | Source/platform/graphics/ImageBufferSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698