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/CSSGradientValue.h

Issue 1214513003: Remove references into sky/engine/core/fetch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/css/CSSImageGeneratorValue.h » ('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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool isRepeating() const { return m_repeating; } 89 bool isRepeating() const { return m_repeating; }
90 90
91 CSSGradientType gradientType() const { return m_gradientType; } 91 CSSGradientType gradientType() const { return m_gradientType; }
92 92
93 bool isFixedSize() const { return false; } 93 bool isFixedSize() const { return false; }
94 IntSize fixedSize(const RenderObject*) const { return IntSize(); } 94 IntSize fixedSize(const RenderObject*) const { return IntSize(); }
95 95
96 bool isPending() const { return false; } 96 bool isPending() const { return false; }
97 bool knownToBeOpaque(const RenderObject*) const; 97 bool knownToBeOpaque(const RenderObject*) const;
98 98
99 void loadSubimages(ResourceFetcher*) { }
100 PassRefPtr<CSSGradientValue> gradientWithStylesResolved(const TextLinkColors &, Color currentColor); 99 PassRefPtr<CSSGradientValue> gradientWithStylesResolved(const TextLinkColors &, Color currentColor);
101 100
102 protected: 101 protected:
103 CSSGradientValue(ClassType classType, CSSGradientRepeat repeat, CSSGradientT ype gradientType) 102 CSSGradientValue(ClassType classType, CSSGradientRepeat repeat, CSSGradientT ype gradientType)
104 : CSSImageGeneratorValue(classType) 103 : CSSImageGeneratorValue(classType)
105 , m_stopsSorted(false) 104 , m_stopsSorted(false)
106 , m_gradientType(gradientType) 105 , m_gradientType(gradientType)
107 , m_repeating(repeat == Repeating) 106 , m_repeating(repeat == Repeating)
108 { 107 {
109 } 108 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 241
243 RefPtr<CSSPrimitiveValue> m_endHorizontalSize; 242 RefPtr<CSSPrimitiveValue> m_endHorizontalSize;
244 RefPtr<CSSPrimitiveValue> m_endVerticalSize; 243 RefPtr<CSSPrimitiveValue> m_endVerticalSize;
245 }; 244 };
246 245
247 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue()); 246 DEFINE_CSS_VALUE_TYPE_CASTS(CSSRadialGradientValue, isRadialGradientValue());
248 247
249 } // namespace blink 248 } // namespace blink
250 249
251 #endif // SKY_ENGINE_CORE_CSS_CSSGRADIENTVALUE_H_ 250 #endif // SKY_ENGINE_CORE_CSS_CSSGRADIENTVALUE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/css/CSSImageGeneratorValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698