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

Side by Side Diff: cc/output/render_surface_filters.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/output/program_binding.h ('k') | cc/output/shader.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 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 5
6 #ifndef CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 6 #ifndef CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
7 #define CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 7 #define CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
8 8
9 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
10 11
11 class GrContext; 12 class GrContext;
12 class SkBitmap; 13 class SkBitmap;
13 14
14 namespace gfx { 15 namespace gfx {
15 class SizeF; 16 class SizeF;
16 } 17 }
17 18
18 namespace WebKit { 19 namespace WebKit {
19 class WebFilterOperations; 20 class WebFilterOperations;
20 } 21 }
21 22
22 namespace cc { 23 namespace cc {
23 24
24 class CC_EXPORT RenderSurfaceFilters { 25 class CC_EXPORT RenderSurfaceFilters {
25 public: 26 public:
26 static SkBitmap Apply(const WebKit::WebFilterOperations& filters, 27 static SkBitmap Apply(const WebKit::WebFilterOperations& filters,
27 unsigned texture_id, 28 unsigned texture_id,
28 gfx::SizeF size, 29 gfx::SizeF size,
29 GrContext* gr_context); 30 GrContext* gr_context);
30 static WebKit::WebFilterOperations Optimize( 31 static WebKit::WebFilterOperations Optimize(
31 const WebKit::WebFilterOperations& filters); 32 const WebKit::WebFilterOperations& filters);
32 33
33 private: 34 private:
34 RenderSurfaceFilters(); 35 DISALLOW_IMPLICIT_CONSTRUCTORS(RenderSurfaceFilters);
35 }; 36 };
36 37
37 } 38 }
38 #endif // CC_OUTPUT_RENDER_SURFACE_FILTERS_H_ 39 #endif // CC_OUTPUT_RENDER_SURFACE_FILTERS_H_
OLDNEW
« no previous file with comments | « cc/output/program_binding.h ('k') | cc/output/shader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698