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

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

Issue 1251953007: remove unused methods createNinePatchLayer() and setContentsToNinePatch() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: . Created 5 years, 5 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 | « Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Layers ------------------------------------------------------- 63 // Layers -------------------------------------------------------
64 64
65 virtual WebLayer* createLayer() { return nullptr; } 65 virtual WebLayer* createLayer() { return nullptr; }
66 66
67 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return nullptr; } 67 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return nullptr; }
68 68
69 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return nullptr; } 69 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient*) { return nullptr; }
70 70
71 virtual WebImageLayer* createImageLayer() { return nullptr; } 71 virtual WebImageLayer* createImageLayer() { return nullptr; }
72 72
73 virtual WebNinePatchLayer* createNinePatchLayer() { return nullptr; }
74
75 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium. 73 // The ownership of the WebScrollbarThemeGeometry pointer is passed to Chrom ium.
76 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return nullptr; } 74 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return nullptr; }
77 75
78 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return nullptr; } 76 virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orie ntation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar) { return nullptr; }
79 77
80 // Animation ---------------------------------------------------- 78 // Animation ----------------------------------------------------
81 79
82 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation Curve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId = 0) { return nullptr; } 80 virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimation Curve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId = 0) { return nullptr; }
83 81
84 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return nullp tr; } 82 virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return nullp tr; }
(...skipping 14 matching lines...) Expand all
99 97
100 virtual WebDisplayItemList* createDisplayItemList() { return nullptr; } 98 virtual WebDisplayItemList* createDisplayItemList() { return nullptr; }
101 99
102 protected: 100 protected:
103 virtual ~WebCompositorSupport() { } 101 virtual ~WebCompositorSupport() { }
104 }; 102 };
105 103
106 } 104 }
107 105
108 #endif // WebCompositorSupport_h 106 #endif // WebCompositorSupport_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698