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

Side by Side Diff: Source/core/loader/cache/CachedResourceClient.h

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/core/page/DragController.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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
(...skipping 14 matching lines...) Expand all
25 #ifndef CachedResourceClient_h 25 #ifndef CachedResourceClient_h
26 #define CachedResourceClient_h 26 #define CachedResourceClient_h
27 27
28 #include <wtf/FastAllocBase.h> 28 #include <wtf/FastAllocBase.h>
29 #include <wtf/Forward.h> 29 #include <wtf/Forward.h>
30 30
31 namespace WebCore { 31 namespace WebCore {
32 class CachedResource; 32 class CachedResource;
33 33
34 class CachedResourceClient { 34 class CachedResourceClient {
35 WTF_MAKE_FAST_ALLOCATED;
36 public: 35 public:
37 enum CachedResourceClientType { 36 enum CachedResourceClientType {
38 BaseResourceType, 37 BaseResourceType,
39 ImageType, 38 ImageType,
40 FontType, 39 FontType,
41 StyleSheetType, 40 StyleSheetType,
42 #if ENABLE(SVG) 41 #if ENABLE(SVG)
43 SVGDocumentType, 42 SVGDocumentType,
44 #endif 43 #endif
45 RawResourceType 44 RawResourceType
46 }; 45 };
47 46
48 virtual ~CachedResourceClient() { } 47 virtual ~CachedResourceClient() { }
49 virtual void notifyFinished(CachedResource*) { } 48 virtual void notifyFinished(CachedResource*) { }
50 virtual void deprecatedDidReceiveCachedResource(CachedResource*) { } 49 virtual void deprecatedDidReceiveCachedResource(CachedResource*) { }
51 50
52 static CachedResourceClientType expectedType() { return BaseResourceType; } 51 static CachedResourceClientType expectedType() { return BaseResourceType; }
53 virtual CachedResourceClientType resourceClientType() const { return expecte dType(); } 52 virtual CachedResourceClientType resourceClientType() const { return expecte dType(); }
54 53
55 protected: 54 protected:
56 CachedResourceClient() { } 55 CachedResourceClient() { }
57 }; 56 };
58 } 57 }
59 58
60 #endif 59 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.cpp ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698