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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebFilterKeyframe.h ('k') | public/platform/WebFlingAnimator.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef WebFilterOperations_h 26 #ifndef WebFilterOperations_h
27 #define WebFilterOperations_h 27 #define WebFilterOperations_h
28 28
29 #include "SkImageFilter.h" 29 #include "SkImageFilter.h"
30 #include "SkScalar.h" 30 #include "SkScalar.h"
31 #include "WebColor.h" 31 #include "WebColor.h"
32 #include "WebPoint.h" 32 #include "WebPoint.h"
33 33
34 namespace WebKit { 34 namespace blink {
35 35
36 // An ordered list of filter operations. 36 // An ordered list of filter operations.
37 class WebFilterOperations { 37 class WebFilterOperations {
38 public: 38 public:
39 virtual ~WebFilterOperations() { } 39 virtual ~WebFilterOperations() { }
40 40
41 virtual void appendGrayscaleFilter(float amount) = 0; 41 virtual void appendGrayscaleFilter(float amount) = 0;
42 virtual void appendSepiaFilter(float amount) = 0; 42 virtual void appendSepiaFilter(float amount) = 0;
43 virtual void appendSaturateFilter(float amount) = 0; 43 virtual void appendSaturateFilter(float amount) = 0;
44 virtual void appendHueRotateFilter(float amount) = 0; 44 virtual void appendHueRotateFilter(float amount) = 0;
45 virtual void appendInvertFilter(float amount) = 0; 45 virtual void appendInvertFilter(float amount) = 0;
46 virtual void appendBrightnessFilter(float amount) = 0; 46 virtual void appendBrightnessFilter(float amount) = 0;
47 virtual void appendContrastFilter(float amount) = 0; 47 virtual void appendContrastFilter(float amount) = 0;
48 virtual void appendOpacityFilter(float amount)= 0; 48 virtual void appendOpacityFilter(float amount)= 0;
49 virtual void appendBlurFilter(float amount) = 0; 49 virtual void appendBlurFilter(float amount) = 0;
50 virtual void appendDropShadowFilter(WebPoint offset, float stdDeviation, Web Color) = 0; 50 virtual void appendDropShadowFilter(WebPoint offset, float stdDeviation, Web Color) = 0;
51 virtual void appendColorMatrixFilter(SkScalar matrix[20]) = 0; 51 virtual void appendColorMatrixFilter(SkScalar matrix[20]) = 0;
52 virtual void appendZoomFilter(float amount, int inset) = 0; 52 virtual void appendZoomFilter(float amount, int inset) = 0;
53 virtual void appendSaturatingBrightnessFilter(float amount) = 0; 53 virtual void appendSaturatingBrightnessFilter(float amount) = 0;
54 54
55 // This grabs a ref on the passed-in filter. 55 // This grabs a ref on the passed-in filter.
56 virtual void appendReferenceFilter(SkImageFilter*) = 0; 56 virtual void appendReferenceFilter(SkImageFilter*) = 0;
57 57
58 virtual void clear() = 0; 58 virtual void clear() = 0;
59 }; 59 };
60 60
61 } // namespace WebKit 61 } // namespace blink
62 62
63 #endif // WebFilterOperations_h 63 #endif // WebFilterOperations_h
OLDNEW
« no previous file with comments | « public/platform/WebFilterKeyframe.h ('k') | public/platform/WebFlingAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698