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

Unified Diff: sky/viewer/cc/web_compositor_support_impl.cc

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/viewer/cc/web_compositor_support_impl.h ('k') | sky/viewer/cc/web_scroll_offset_animation_curve_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/cc/web_compositor_support_impl.cc
diff --git a/sky/viewer/cc/web_compositor_support_impl.cc b/sky/viewer/cc/web_compositor_support_impl.cc
index 22237517933b495ecfa27bafbc096a09e73ae532..9a733dc78f13900cdd62f76c813c06049832f093 100644
--- a/sky/viewer/cc/web_compositor_support_impl.cc
+++ b/sky/viewer/cc/web_compositor_support_impl.cc
@@ -15,8 +15,6 @@
#include "sky/viewer/cc/web_float_animation_curve_impl.h"
#include "sky/viewer/cc/web_image_layer_impl.h"
#include "sky/viewer/cc/web_layer_impl.h"
-#include "sky/viewer/cc/web_scroll_offset_animation_curve_impl.h"
-#include "sky/viewer/cc/web_scrollbar_layer_impl.h"
#include "sky/viewer/cc/web_transform_animation_curve_impl.h"
#include "sky/viewer/cc/web_transform_operations_impl.h"
#include "cc/output/output_surface.h"
@@ -33,11 +31,6 @@ using blink::WebFilterOperations;
using blink::WebFloatAnimationCurve;
using blink::WebImageLayer;
using blink::WebLayer;
-using blink::WebScrollbar;
-using blink::WebScrollbarLayer;
-using blink::WebScrollbarThemeGeometry;
-using blink::WebScrollbarThemePainter;
-using blink::WebScrollOffsetAnimationCurve;
using blink::WebTransformAnimationCurve;
using blink::WebTransformOperations;
@@ -67,24 +60,6 @@ blink::WebImageLayer* WebCompositorSupportImpl::createImageLayer() {
return new WebImageLayerImpl();
}
-WebScrollbarLayer* WebCompositorSupportImpl::createScrollbarLayer(
- WebScrollbar* scrollbar,
- WebScrollbarThemePainter painter,
- WebScrollbarThemeGeometry* geometry) {
- return new WebScrollbarLayerImpl(scrollbar, painter, geometry);
-}
-
-WebScrollbarLayer* WebCompositorSupportImpl::createSolidColorScrollbarLayer(
- WebScrollbar::Orientation orientation,
- int thumb_thickness,
- int track_start,
- bool is_left_side_vertical_scrollbar) {
- return new WebScrollbarLayerImpl(orientation,
- thumb_thickness,
- track_start,
- is_left_side_vertical_scrollbar);
-}
-
WebCompositorAnimation* WebCompositorSupportImpl::createAnimation(
const blink::WebCompositorAnimationCurve& curve,
blink::WebCompositorAnimation::TargetProperty target,
@@ -101,13 +76,6 @@ WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
return new WebFloatAnimationCurveImpl();
}
-WebScrollOffsetAnimationCurve*
-WebCompositorSupportImpl::createScrollOffsetAnimationCurve(
- blink::WebFloatPoint target_value,
- blink::WebCompositorAnimationCurve::TimingFunctionType timing_function) {
- return new WebScrollOffsetAnimationCurveImpl(target_value, timing_function);
-}
-
WebTransformAnimationCurve*
WebCompositorSupportImpl::createTransformAnimationCurve() {
return new WebTransformAnimationCurveImpl();
« no previous file with comments | « sky/viewer/cc/web_compositor_support_impl.h ('k') | sky/viewer/cc/web_scroll_offset_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698