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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/FrameData.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) 2006 Samuel Weinig (sam.weinig@gmail.com) 2 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
4 * Copyright (C) 2008-2009 Torch Mobile, Inc. 4 * Copyright (C) 2008-2009 Torch Mobile, Inc.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 16 matching lines...) Expand all
27 27
28 #ifndef FrameData_h 28 #ifndef FrameData_h
29 #define FrameData_h 29 #define FrameData_h
30 30
31 #include "platform/graphics/ImageOrientation.h" 31 #include "platform/graphics/ImageOrientation.h"
32 #include "wtf/Allocator.h" 32 #include "wtf/Allocator.h"
33 #include "wtf/Noncopyable.h" 33 #include "wtf/Noncopyable.h"
34 #include "wtf/RefPtr.h" 34 #include "wtf/RefPtr.h"
35 #include "wtf/VectorTraits.h" 35 #include "wtf/VectorTraits.h"
36 36
37 class SkImage;
38
39 namespace blink { 37 namespace blink {
40 38
41 struct FrameData { 39 struct FrameData {
42 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 40 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
43 WTF_MAKE_NONCOPYABLE(FrameData); 41 WTF_MAKE_NONCOPYABLE(FrameData);
44 42
45 public: 43 public:
46 FrameData(); 44 FrameData();
47 ~FrameData(); 45 ~FrameData();
48 46
(...skipping 15 matching lines...) Expand all
64 template <> 62 template <>
65 struct VectorTraits<blink::FrameData> 63 struct VectorTraits<blink::FrameData>
66 : public SimpleClassVectorTraits<blink::FrameData> { 64 : public SimpleClassVectorTraits<blink::FrameData> {
67 STATIC_ONLY(VectorTraits); 65 STATIC_ONLY(VectorTraits);
68 static const bool canInitializeWithMemset = 66 static const bool canInitializeWithMemset =
69 false; // Not all FrameData members initialize to 0. 67 false; // Not all FrameData members initialize to 0.
70 }; 68 };
71 } 69 }
72 70
73 #endif // FrameData_h 71 #endif // FrameData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698