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

Side by Side Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CanvasRenderingContext2DState_h 5 #ifndef CanvasRenderingContext2DState_h
6 #define CanvasRenderingContext2DState_h 6 #define CanvasRenderingContext2DState_h
7 7
8 #include "core/css/CSSFontSelectorClient.h" 8 #include "core/css/CSSFontSelectorClient.h"
9 #include "modules/canvas2d/ClipList.h" 9 #include "modules/canvas2d/ClipList.h"
10 #include "platform/fonts/Font.h" 10 #include "platform/fonts/Font.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void setUnparsedFont(const String& font) { m_unparsedFont = font; } 81 void setUnparsedFont(const String& font) { m_unparsedFont = font; }
82 const String& unparsedFont() const { return m_unparsedFont; } 82 const String& unparsedFont() const { return m_unparsedFont; }
83 83
84 void setFilter(PassRefPtrWillBeRawPtr<CSSValue>); 84 void setFilter(PassRefPtrWillBeRawPtr<CSSValue>);
85 void setUnparsedFilter(const String& filterString) { m_unparsedFilter = filt erString; } 85 void setUnparsedFilter(const String& filterString) { m_unparsedFilter = filt erString; }
86 const String& unparsedFilter() const { return m_unparsedFilter; } 86 const String& unparsedFilter() const { return m_unparsedFilter; }
87 SkImageFilter* getFilter(Element*, const Font&) const; 87 SkImageFilter* getFilter(Element*, const Font&) const;
88 bool hasFilter() const { return m_filterValue; } 88 bool hasFilter() const { return m_filterValue; }
89 89
90 void setStrokeStyle(CanvasStyle*); 90 void setStrokeStyle(CanvasStyle*);
91 CanvasStyle* strokeStyle() const { return m_strokeStyle.get(); } 91 CanvasStyle* strokeStyle() const;
92 92
93 void setFillStyle(CanvasStyle*); 93 void setFillStyle(CanvasStyle*);
94 CanvasStyle* fillStyle() const { return m_fillStyle.get(); } 94 CanvasStyle* fillStyle() const;
95 95
96 CanvasStyle* style(PaintType) const; 96 CanvasStyle* style(PaintType) const;
97 97
98 enum Direction { 98 enum Direction {
99 DirectionInherit, 99 DirectionInherit,
100 DirectionRTL, 100 DirectionRTL,
101 DirectionLTR 101 DirectionLTR
102 }; 102 };
103 103
104 void setDirection(Direction direction) { m_direction = direction; } 104 void setDirection(Direction direction) { m_direction = direction; }
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 bool m_imageSmoothingEnabled; 224 bool m_imageSmoothingEnabled;
225 SkFilterQuality m_imageSmoothingQuality; 225 SkFilterQuality m_imageSmoothingQuality;
226 226
227 ClipList m_clipList; 227 ClipList m_clipList;
228 }; 228 };
229 229
230 } // blink 230 } // blink
231 231
232 #endif 232 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698