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

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

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue Created 6 years, 2 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 26 matching lines...) Expand all
37 #include "platform/graphics/StrokeData.h" 37 #include "platform/graphics/StrokeData.h"
38 #include "third_party/skia/include/core/SkColorFilter.h" 38 #include "third_party/skia/include/core/SkColorFilter.h"
39 #include "third_party/skia/include/core/SkPaint.h" 39 #include "third_party/skia/include/core/SkPaint.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 #include "wtf/RefPtr.h" 41 #include "wtf/RefPtr.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 // Encapsulates the state information we store for each pushed graphics state. 45 // Encapsulates the state information we store for each pushed graphics state.
46 // Only GraphicsContext can use this class. 46 // Only GraphicsContext can use this class.
47 class PLATFORM_EXPORT GraphicsContextState FINAL { 47 class PLATFORM_EXPORT GraphicsContextState final {
48 public: 48 public:
49 static PassOwnPtr<GraphicsContextState> create() 49 static PassOwnPtr<GraphicsContextState> create()
50 { 50 {
51 return adoptPtr(new GraphicsContextState()); 51 return adoptPtr(new GraphicsContextState());
52 } 52 }
53 53
54 static PassOwnPtr<GraphicsContextState> createAndCopy(const GraphicsContextS tate& other) 54 static PassOwnPtr<GraphicsContextState> createAndCopy(const GraphicsContextS tate& other)
55 { 55 {
56 return adoptPtr(new GraphicsContextState(other)); 56 return adoptPtr(new GraphicsContextState(other));
57 } 57 }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 uint16_t m_saveCount; 179 uint16_t m_saveCount;
180 180
181 bool m_shouldAntialias : 1; 181 bool m_shouldAntialias : 1;
182 bool m_shouldClampToSourceRect : 1; 182 bool m_shouldClampToSourceRect : 1;
183 }; 183 };
184 184
185 } // namespace blink 185 } // namespace blink
186 186
187 #endif // GraphicsContextState_h 187 #endif // GraphicsContextState_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/DrawLooperBuilder.h ('k') | Source/platform/graphics/GraphicsLayerDebugInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698