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

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

Issue 10909233: Add scrolling related getters to WebLayerImpl (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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.h ('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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 76 virtual WebPoint scrollPosition() const OVERRIDE;
77 virtual void setMaxScrollPosition(WebSize) OVERRIDE; 77 virtual void setMaxScrollPosition(WebSize) OVERRIDE;
78 virtual WebSize maxScrollPosition() const;
78 virtual void setScrollable(bool) OVERRIDE; 79 virtual void setScrollable(bool) OVERRIDE;
80 virtual bool scrollable() const;
79 virtual void setHaveWheelEventHandlers(bool) OVERRIDE; 81 virtual void setHaveWheelEventHandlers(bool) OVERRIDE;
82 virtual bool haveWheelEventHandlers() const;
80 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; 83 virtual void setShouldScrollOnMainThread(bool) OVERRIDE;
84 virtual bool shouldScrollOnMainThread() const;
81 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; 85 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE;
86 virtual WebVector<WebRect> nonFastScrollableRegion() const;
82 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; 87 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE;
88 virtual bool isContainerForFixedPositionLayers() const;
83 virtual void setFixedToContainerLayer(bool) OVERRIDE; 89 virtual void setFixedToContainerLayer(bool) OVERRIDE;
90 virtual bool fixedToContainerLayer() const;
84 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; 91 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE;
85 92
86 WebCore::LayerChromium* layer() const; 93 WebCore::LayerChromium* layer() const;
87 94
88 protected: 95 protected:
89 RefPtr<WebCore::LayerChromium> m_layer; 96 RefPtr<WebCore::LayerChromium> m_layer;
90 }; 97 };
91 98
92 } // namespace WebKit 99 } // namespace WebKit
93 100
94 #endif // WebLayerImpl_h 101 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « cc/LayerChromium.h ('k') | webkit/compositor_bindings/WebLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698