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

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

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 virtual void setShouldScrollOnMainThread(bool) = 0; 193 virtual void setShouldScrollOnMainThread(bool) = 0;
194 virtual bool shouldScrollOnMainThread() const = 0; 194 virtual bool shouldScrollOnMainThread() const = 0;
195 195
196 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) = 0; 196 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) = 0;
197 virtual WebVector<WebRect> nonFastScrollableRegion() const = 0; 197 virtual WebVector<WebRect> nonFastScrollableRegion() const = 0;
198 198
199 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&) = 0; 199 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&) = 0;
200 virtual WebVector<WebRect> touchEventHandlerRegion() const = 0; 200 virtual WebVector<WebRect> touchEventHandlerRegion() const = 0;
201 201
202 virtual void setFrameTimingRequests(const WebVector<std::pair<int64_t, WebRe ct>>&) = 0;
203
202 // FIXME: Make pure once cc is updated. crbug.com/347272 204 // FIXME: Make pure once cc is updated. crbug.com/347272
203 virtual void setScrollBlocksOn(WebScrollBlocksOn) { }; 205 virtual void setScrollBlocksOn(WebScrollBlocksOn) { };
204 virtual WebScrollBlocksOn scrollBlocksOn() const { return WebScrollBlocksOnN one;}; 206 virtual WebScrollBlocksOn scrollBlocksOn() const { return WebScrollBlocksOnN one;};
205 207
206 virtual void setIsContainerForFixedPositionLayers(bool) = 0; 208 virtual void setIsContainerForFixedPositionLayers(bool) = 0;
207 virtual bool isContainerForFixedPositionLayers() const = 0; 209 virtual bool isContainerForFixedPositionLayers() const = 0;
208 210
209 // This function sets layer position constraint. The constraint will be used 211 // This function sets layer position constraint. The constraint will be used
210 // to adjust layer position during threaded scrolling. 212 // to adjust layer position during threaded scrolling.
211 virtual void setPositionConstraint(const WebLayerPositionConstraint&) = 0; 213 virtual void setPositionConstraint(const WebLayerPositionConstraint&) = 0;
(...skipping 12 matching lines...) Expand all
224 226
225 // True if the layer is not part of a tree attached to a WebLayerTreeView. 227 // True if the layer is not part of a tree attached to a WebLayerTreeView.
226 virtual bool isOrphan() const = 0; 228 virtual bool isOrphan() const = 0;
227 229
228 virtual void setWebLayerClient(WebLayerClient*) = 0; 230 virtual void setWebLayerClient(WebLayerClient*) = 0;
229 }; 231 };
230 232
231 } // namespace blink 233 } // namespace blink
232 234
233 #endif // WebLayer_h 235 #endif // WebLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698