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

Side by Side Diff: public/platform/WebLayer.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebHTTPLoadInfo.h ('k') | public/platform/WebRTCStatsRequest.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // etc). 115 // etc).
116 virtual void setUseParentBackfaceVisibility(bool) = 0; 116 virtual void setUseParentBackfaceVisibility(bool) = 0;
117 117
118 virtual void setBackgroundColor(WebColor) = 0; 118 virtual void setBackgroundColor(WebColor) = 0;
119 virtual WebColor backgroundColor() const = 0; 119 virtual WebColor backgroundColor() const = 0;
120 120
121 // Clear the filters in use by passing in a newly instantiated 121 // Clear the filters in use by passing in a newly instantiated
122 // WebFilterOperations object. 122 // WebFilterOperations object.
123 virtual void setFilters(const WebFilterOperations&) = 0; 123 virtual void setFilters(const WebFilterOperations&) = 0;
124 124
125 // Set the root of the image filter graph for this layer. The 125 // Set the root of the image filter graph for this layer. The
126 // implementation should grab a ref on the passed-in filter in order 126 // implementation should grab a ref on the passed-in filter in order
127 // to retain ownership. The passed-in graph will be unref'ed by the 127 // to retain ownership. The passed-in graph will be unref'ed by the
128 // caller after this call. 128 // caller after this call.
129 virtual void setFilter(SkImageFilter*) = 0; 129 virtual void setFilter(SkImageFilter*) = 0;
130 130
131 // Apply filters to pixels that show through the background of this layer. 131 // Apply filters to pixels that show through the background of this layer.
132 // Note: These filters are only possible on layers that are drawn directly 132 // Note: These filters are only possible on layers that are drawn directly
133 // to a root render surface with an opaque background. This means if an 133 // to a root render surface with an opaque background. This means if an
134 // ancestor of the background-filtered layer sets certain properties 134 // ancestor of the background-filtered layer sets certain properties
135 // (opacity, transforms), it may conflict and hide the background filters. 135 // (opacity, transforms), it may conflict and hide the background filters.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // so, but this is to facilitate benchmarks and tests. 211 // so, but this is to facilitate benchmarks and tests.
212 virtual void setForceRenderSurface(bool) = 0; 212 virtual void setForceRenderSurface(bool) = 0;
213 213
214 // True if the layer is not part of a tree attached to a WebLayerTreeView. 214 // True if the layer is not part of a tree attached to a WebLayerTreeView.
215 virtual bool isOrphan() const = 0; 215 virtual bool isOrphan() const = 0;
216 }; 216 };
217 217
218 } // namespace WebKit 218 } // namespace WebKit
219 219
220 #endif // WebLayer_h 220 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « public/platform/WebHTTPLoadInfo.h ('k') | public/platform/WebRTCStatsRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698