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

Side by Side Diff: third_party/WebKit/Source/core/style/FilterOperations.h

Issue 2812593005: Rename cleanup in comments in style/ directory. (Closed)
Patch Set: Created 3 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) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool IsEmpty() const { return !operations_.size(); } 56 bool IsEmpty() const { return !operations_.size(); }
57 size_t size() const { return operations_.size(); } 57 size_t size() const { return operations_.size(); }
58 const FilterOperation* at(size_t index) const { 58 const FilterOperation* at(size_t index) const {
59 return index < operations_.size() ? operations_.at(index).Get() : 0; 59 return index < operations_.size() ? operations_.at(index).Get() : 0;
60 } 60 }
61 61
62 bool CanInterpolateWith(const FilterOperations&) const; 62 bool CanInterpolateWith(const FilterOperations&) const;
63 63
64 // Maps "forward" to determine which pixels in a destination rect are 64 // Maps "forward" to determine which pixels in a destination rect are
65 // affected by pixels in the source rect. 65 // affected by pixels in the source rect.
66 // See also FilterEffect::mapRect. 66 // See also FilterEffect::MapRect.
67 FloatRect MapRect(const FloatRect&) const; 67 FloatRect MapRect(const FloatRect&) const;
68 68
69 bool HasFilterThatAffectsOpacity() const; 69 bool HasFilterThatAffectsOpacity() const;
70 bool HasFilterThatMovesPixels() const; 70 bool HasFilterThatMovesPixels() const;
71 71
72 bool HasReferenceFilter() const; 72 bool HasReferenceFilter() const;
73 73
74 void AddClient(SVGResourceClient*) const; 74 void AddClient(SVGResourceClient*) const;
75 void RemoveClient(SVGResourceClient*) const; 75 void RemoveClient(SVGResourceClient*) const;
76 76
(...skipping 24 matching lines...) Expand all
101 101
102 explicit FilterOperationsWrapper(const FilterOperations& operations) 102 explicit FilterOperationsWrapper(const FilterOperations& operations)
103 : operations_(operations) {} 103 : operations_(operations) {}
104 104
105 FilterOperations operations_; 105 FilterOperations operations_;
106 }; 106 };
107 107
108 } // namespace blink 108 } // namespace blink
109 109
110 #endif // FilterOperations_h 110 #endif // FilterOperations_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/FilterOperation.h ('k') | third_party/WebKit/Source/core/style/GridArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698