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

Side by Side Diff: sky/engine/public/platform/WebCompositorSupport.h

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments Created 6 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Layers ------------------------------------------------------- 65 // Layers -------------------------------------------------------
66 66
67 virtual WebLayer* createLayer() { return 0; } 67 virtual WebLayer* createLayer() { return 0; }
68 68
69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; } 69 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; }
70 70
71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return 0; } 71 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return 0; }
72 72
73 virtual WebImageLayer* createImageLayer() { return 0; } 73 virtual WebImageLayer* createImageLayer() { return 0; }
74 74
75 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium.
76 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; }
77
78 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return 0; }
79
80 // Animation ---------------------------------------------------- 75 // Animation ----------------------------------------------------
81 76
82 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation Curve&, WebCompositorAnimation::TargetProperty, int animationId = 0) { return 0; } 77 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation Curve&, WebCompositorAnimation::TargetProperty, int animationId = 0) { return 0; }
83 78
84 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; } 79 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
85 80
86 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } 81 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
87 82
88 virtual WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(WebF loatPoint targetValue, WebCompositorAnimationCurve::TimingFunctionType) { return 0; } 83 virtual WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(WebF loatPoint targetValue, WebCompositorAnimationCurve::TimingFunctionType) { return 0; }
89 84
90 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; } 85 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
91 86
92 virtual WebTransformOperations* createTransformOperations() { return 0; } 87 virtual WebTransformOperations* createTransformOperations() { return 0; }
93 88
94 virtual WebFilterOperations* createFilterOperations() { return 0; } 89 virtual WebFilterOperations* createFilterOperations() { return 0; }
95 90
96 protected: 91 protected:
97 virtual ~WebCompositorSupport() { } 92 virtual ~WebCompositorSupport() { }
98 }; 93 };
99 94
100 } 95 }
101 96
102 #endif // WebCompositorSupport_h 97 #endif // WebCompositorSupport_h
OLDNEW
« no previous file with comments | « sky/engine/platform/scroll/ScrollableArea.cpp ('k') | sky/engine/public/platform/WebThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698