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

Side by Side Diff: sky/engine/core/css/resolver/ElementStyleResources.h

Issue 1076623002: Remove our impressive amount of CSS Cursor code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 STACK_ALLOCATED(); 48 STACK_ALLOCATED();
49 WTF_MAKE_NONCOPYABLE(ElementStyleResources); 49 WTF_MAKE_NONCOPYABLE(ElementStyleResources);
50 public: 50 public:
51 ElementStyleResources(); 51 ElementStyleResources();
52 52
53 PassRefPtr<StyleImage> styleImage(Document&, const TextLinkColors&, Color cu rrentColor, CSSPropertyID, CSSValue*); 53 PassRefPtr<StyleImage> styleImage(Document&, const TextLinkColors&, Color cu rrentColor, CSSPropertyID, CSSValue*);
54 54
55 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe neratorValue*); 55 PassRefPtr<StyleImage> generatedOrPendingFromValue(CSSPropertyID, CSSImageGe neratorValue*);
56 PassRefPtr<StyleImage> cachedOrPendingFromValue(Document&, CSSPropertyID, CS SImageValue*); 56 PassRefPtr<StyleImage> cachedOrPendingFromValue(Document&, CSSPropertyID, CS SImageValue*);
57 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue *); 57 PassRefPtr<StyleImage> setOrPendingFromValue(CSSPropertyID, CSSImageSetValue *);
58 PassRefPtr<StyleImage> cursorOrPendingFromValue(CSSPropertyID, CSSCursorImag eValue*);
59 58
60 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen dingImageProperties; } 59 const PendingImagePropertyMap& pendingImageProperties() const { return m_pen dingImageProperties; }
61 60
62 void clearPendingImageProperties(); 61 void clearPendingImageProperties();
63 62
64 float deviceScaleFactor() const { return m_deviceScaleFactor; } 63 float deviceScaleFactor() const { return m_deviceScaleFactor; }
65 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d eviceScaleFactor; } 64 void setDeviceScaleFactor(float deviceScaleFactor) { m_deviceScaleFactor = d eviceScaleFactor; }
66 65
67 private: 66 private:
68 PendingImagePropertyMap m_pendingImageProperties; 67 PendingImagePropertyMap m_pendingImageProperties;
69 float m_deviceScaleFactor; 68 float m_deviceScaleFactor;
70 }; 69 };
71 70
72 } // namespace blink 71 } // namespace blink
73 72
74 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_ELEMENTSTYLERESOURCES_H_ 73 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_ELEMENTSTYLERESOURCES_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/CSSPropertyParser.cpp ('k') | sky/engine/core/css/resolver/ElementStyleResources.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698