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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextState.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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 // Copyright (C) 2013 Google Inc. All rights reserved. 1 // Copyright (C) 2013 Google Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * 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 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void incrementSaveCount() { ++m_saveCount; } 68 void incrementSaveCount() { ++m_saveCount; }
69 void decrementSaveCount() { --m_saveCount; } 69 void decrementSaveCount() { --m_saveCount; }
70 70
71 // Stroke data 71 // Stroke data
72 Color strokeColor() const { return m_strokeColor; } 72 Color strokeColor() const { return m_strokeColor; }
73 void setStrokeColor(const Color&); 73 void setStrokeColor(const Color&);
74 74
75 Gradient* strokeGradient() const { return m_strokeGradient.get(); } 75 Gradient* strokeGradient() const { return m_strokeGradient.get(); }
76 void setStrokeGradient(const PassRefPtr<Gradient>, float); 76 void setStrokeGradient(const PassRefPtr<Gradient>, float);
77 77
78 const StrokeData& strokeData() const { return m_strokeData; } 78 const StrokeData& getStrokeData() const { return m_strokeData; }
79 void setStrokeStyle(StrokeStyle); 79 void setStrokeStyle(StrokeStyle);
80 void setStrokeThickness(float); 80 void setStrokeThickness(float);
81 void setLineCap(LineCap); 81 void setLineCap(LineCap);
82 void setLineJoin(LineJoin); 82 void setLineJoin(LineJoin);
83 void setMiterLimit(float); 83 void setMiterLimit(float);
84 void setLineDash(const DashArray&, float); 84 void setLineDash(const DashArray&, float);
85 85
86 // Fill data 86 // Fill data
87 Color fillColor() const { return m_fillColor; } 87 Color fillColor() const { return m_fillColor; }
88 void setFillColor(const Color&); 88 void setFillColor(const Color&);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 InterpolationQuality m_interpolationQuality; 135 InterpolationQuality m_interpolationQuality;
136 136
137 uint16_t m_saveCount; 137 uint16_t m_saveCount;
138 138
139 bool m_shouldAntialias : 1; 139 bool m_shouldAntialias : 1;
140 }; 140 };
141 141
142 } // namespace blink 142 } // namespace blink
143 143
144 #endif // GraphicsContextState_h 144 #endif // GraphicsContextState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698