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

Side by Side Diff: sky/engine/core/css/CSSCursorImageValue.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/css/CSSCrossfadeValue.cpp ('k') | sky/engine/core/css/CSSCursorImageValue.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) 2006 Rob Buis <buis@kde.org> 2 * Copyright (C) 2006 Rob Buis <buis@kde.org>
3 * Copyright (C) 2008 Apple Inc. All right reserved. 3 * Copyright (C) 2008 Apple Inc. All right reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 return IntPoint(-1, -1); 47 return IntPoint(-1, -1);
48 } 48 }
49 49
50 String customCSSText() const; 50 String customCSSText() const;
51 51
52 StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor); 52 StyleImage* cachedImage(ResourceFetcher*, float deviceScaleFactor);
53 StyleImage* cachedOrPendingImage(float deviceScaleFactor); 53 StyleImage* cachedOrPendingImage(float deviceScaleFactor);
54 54
55 bool equals(const CSSCursorImageValue&) const; 55 bool equals(const CSSCursorImageValue&) const;
56 56
57 void traceAfterDispatch(Visitor*);
58
59 private: 57 private:
60 CSSCursorImageValue(PassRefPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot); 58 CSSCursorImageValue(PassRefPtr<CSSValue> imageValue, bool hasHotSpot, const IntPoint& hotSpot);
61 59
62 bool isSVGCursor() const; 60 bool isSVGCursor() const;
63 String cachedImageURL(); 61 String cachedImageURL();
64 void clearImageResource(); 62 void clearImageResource();
65 63
66 RefPtr<CSSValue> m_imageValue; 64 RefPtr<CSSValue> m_imageValue;
67 65
68 bool m_hasHotSpot; 66 bool m_hasHotSpot;
69 IntPoint m_hotSpot; 67 IntPoint m_hotSpot;
70 RefPtr<StyleImage> m_image; 68 RefPtr<StyleImage> m_image;
71 bool m_accessedImage; 69 bool m_accessedImage;
72 }; 70 };
73 71
74 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue()); 72 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCursorImageValue, isCursorImageValue());
75 73
76 } // namespace blink 74 } // namespace blink
77 75
78 #endif // CSSCursorImageValue_h 76 #endif // CSSCursorImageValue_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSCrossfadeValue.cpp ('k') | sky/engine/core/css/CSSCursorImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698