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

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

Issue 311273008: Remove anchorPoint from WebLayer and GraphicsLayer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/LinkHighlight.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Sets the entire layer as invalid, i.e. needs to update its content. 62 // Sets the entire layer as invalid, i.e. needs to update its content.
63 virtual void invalidate() = 0; 63 virtual void invalidate() = 0;
64 64
65 // These functions do not take ownership of the WebLayer* parameter. 65 // These functions do not take ownership of the WebLayer* parameter.
66 virtual void addChild(WebLayer*) = 0; 66 virtual void addChild(WebLayer*) = 0;
67 virtual void insertChild(WebLayer*, size_t index) = 0; 67 virtual void insertChild(WebLayer*, size_t index) = 0;
68 virtual void replaceChild(WebLayer* reference, WebLayer* newLayer) = 0; 68 virtual void replaceChild(WebLayer* reference, WebLayer* newLayer) = 0;
69 virtual void removeFromParent() = 0; 69 virtual void removeFromParent() = 0;
70 virtual void removeAllChildren() = 0; 70 virtual void removeAllChildren() = 0;
71 71
72 virtual void setAnchorPoint(const WebFloatPoint&) = 0;
73 virtual WebFloatPoint anchorPoint() const = 0;
74
75 virtual void setAnchorPointZ(float) = 0;
76 virtual float anchorPointZ() const = 0;
77
78 virtual void setBounds(const WebSize&) = 0; 72 virtual void setBounds(const WebSize&) = 0;
79 virtual WebSize bounds() const = 0; 73 virtual WebSize bounds() const = 0;
80 74
81 virtual void setMasksToBounds(bool) = 0; 75 virtual void setMasksToBounds(bool) = 0;
82 virtual bool masksToBounds() const = 0; 76 virtual bool masksToBounds() const = 0;
83 77
84 virtual void setMaskLayer(WebLayer*) = 0; 78 virtual void setMaskLayer(WebLayer*) = 0;
85 virtual void setReplicaLayer(WebLayer*) = 0; 79 virtual void setReplicaLayer(WebLayer*) = 0;
86 80
87 virtual void setOpacity(float) = 0; 81 virtual void setOpacity(float) = 0;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 214
221 // True if the layer is not part of a tree attached to a WebLayerTreeView. 215 // True if the layer is not part of a tree attached to a WebLayerTreeView.
222 virtual bool isOrphan() const = 0; 216 virtual bool isOrphan() const = 0;
223 217
224 virtual void setWebLayerClient(WebLayerClient*) = 0; 218 virtual void setWebLayerClient(WebLayerClient*) = 0;
225 }; 219 };
226 220
227 } // namespace blink 221 } // namespace blink
228 222
229 #endif // WebLayer_h 223 #endif // WebLayer_h
OLDNEW
« no previous file with comments | « Source/web/LinkHighlight.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698