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

Side by Side Diff: cc/blink/web_filter_operations_impl.h

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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
« no previous file with comments | « cc/blink/web_filter_animation_curve_impl.cc ('k') | cc/blink/web_filter_operations_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_BLINK_WEB_FILTER_OPERATIONS_IMPL_H_
6 #define CC_BLINK_WEB_FILTER_OPERATIONS_IMPL_H_
7
8 #include "base/macros.h"
9 #include "cc/blink/cc_blink_export.h"
10 #include "cc/output/filter_operations.h"
11 #include "third_party/WebKit/public/platform/WebFilterOperations.h"
12
13 namespace cc_blink {
14
15 class WebFilterOperationsImpl : public blink::WebFilterOperations {
16 public:
17 CC_BLINK_EXPORT WebFilterOperationsImpl();
18 ~WebFilterOperationsImpl() override;
19
20 const cc::FilterOperations& AsFilterOperations() const;
21
22 // Implementation of blink::WebFilterOperations methods
23 void appendGrayscaleFilter(float amount) override;
24 void appendSepiaFilter(float amount) override;
25 void appendSaturateFilter(float amount) override;
26 void appendHueRotateFilter(float amount) override;
27 void appendInvertFilter(float amount) override;
28 void appendBrightnessFilter(float amount) override;
29 void appendContrastFilter(float amount) override;
30 void appendOpacityFilter(float amount) override;
31 void appendBlurFilter(float amount) override;
32 void appendDropShadowFilter(blink::WebPoint offset,
33 float std_deviation,
34 blink::WebColor color) override;
35 void appendColorMatrixFilter(SkScalar matrix[20]) override;
36 void appendZoomFilter(float amount, int inset) override;
37 void appendSaturatingBrightnessFilter(float amount) override;
38 void appendReferenceFilter(SkImageFilter* image_filter) override;
39
40 void clear() override;
41 bool isEmpty() const override;
42
43 private:
44 cc::FilterOperations filter_operations_;
45
46 DISALLOW_COPY_AND_ASSIGN(WebFilterOperationsImpl);
47 };
48
49 } // namespace cc_blink
50
51 #endif // CC_BLINK_WEB_FILTER_OPERATIONS_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_filter_animation_curve_impl.cc ('k') | cc/blink/web_filter_operations_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698