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

Side by Side Diff: webkit/compositor_bindings/WebLayerImpl.h

Issue 10907075: Roll cc snapshot up to 127605 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « cc/LayerChromium.cpp ('k') | webkit/compositor_bindings/WebLayerImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLayerImpl_h 5 #ifndef WebLayerImpl_h
6 #define WebLayerImpl_h 6 #define WebLayerImpl_h
7 7
8 #include <public/WebLayer.h> 8 #include <public/WebLayer.h>
9 #include <wtf/PassRefPtr.h> 9 #include <wtf/PassRefPtr.h>
10 #include <wtf/RefPtr.h> 10 #include <wtf/RefPtr.h>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual bool addAnimation(WebAnimation*) OVERRIDE; 66 virtual bool addAnimation(WebAnimation*) OVERRIDE;
67 virtual void removeAnimation(int animationId) OVERRIDE; 67 virtual void removeAnimation(int animationId) OVERRIDE;
68 virtual void removeAnimation(int animationId, WebAnimation::TargetProperty) OVERRIDE; 68 virtual void removeAnimation(int animationId, WebAnimation::TargetProperty) OVERRIDE;
69 virtual void pauseAnimation(int animationId, double timeOffset) OVERRIDE; 69 virtual void pauseAnimation(int animationId, double timeOffset) OVERRIDE;
70 virtual void suspendAnimations(double monotonicTime) OVERRIDE; 70 virtual void suspendAnimations(double monotonicTime) OVERRIDE;
71 virtual void resumeAnimations(double monotonicTime) OVERRIDE; 71 virtual void resumeAnimations(double monotonicTime) OVERRIDE;
72 virtual bool hasActiveAnimation() OVERRIDE; 72 virtual bool hasActiveAnimation() OVERRIDE;
73 virtual void transferAnimationsTo(WebLayer*) OVERRIDE; 73 virtual void transferAnimationsTo(WebLayer*) OVERRIDE;
74 virtual void setForceRenderSurface(bool) OVERRIDE; 74 virtual void setForceRenderSurface(bool) OVERRIDE;
75 virtual void setScrollPosition(WebPoint) OVERRIDE; 75 virtual void setScrollPosition(WebPoint) OVERRIDE;
76 virtual WebPoint scrollPosition() const OVERRIDE;
77 virtual void setMaxScrollPosition(WebSize) OVERRIDE;
76 virtual void setScrollable(bool) OVERRIDE; 78 virtual void setScrollable(bool) OVERRIDE;
77 virtual void setHaveWheelEventHandlers(bool) OVERRIDE; 79 virtual void setHaveWheelEventHandlers(bool) OVERRIDE;
78 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; 80 virtual void setShouldScrollOnMainThread(bool) OVERRIDE;
79 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; 81 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE;
80 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; 82 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE;
81 virtual void setFixedToContainerLayer(bool) OVERRIDE; 83 virtual void setFixedToContainerLayer(bool) OVERRIDE;
84 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE;
82 85
83 WebCore::LayerChromium* layer() const; 86 WebCore::LayerChromium* layer() const;
84 87
85 protected: 88 protected:
86 RefPtr<WebCore::LayerChromium> m_layer; 89 RefPtr<WebCore::LayerChromium> m_layer;
87 }; 90 };
88 91
89 } // namespace WebKit 92 } // namespace WebKit
90 93
91 #endif // WebLayerImpl_h 94 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « cc/LayerChromium.cpp ('k') | webkit/compositor_bindings/WebLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698