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

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

Issue 12552004: Support bottom-right anchored fixed-position elements during a pinch gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload the same thing Created 7 years, 9 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 // 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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" 10 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; 88 virtual void setShouldScrollOnMainThread(bool) OVERRIDE;
89 virtual bool shouldScrollOnMainThread() const; 89 virtual bool shouldScrollOnMainThread() const;
90 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; 90 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE;
91 virtual WebVector<WebRect> nonFastScrollableRegion() const; 91 virtual WebVector<WebRect> nonFastScrollableRegion() const;
92 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&); 92 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&);
93 virtual WebVector<WebRect> touchEventHandlerRegion() const; 93 virtual WebVector<WebRect> touchEventHandlerRegion() const;
94 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; 94 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE;
95 virtual bool isContainerForFixedPositionLayers() const; 95 virtual bool isContainerForFixedPositionLayers() const;
96 virtual void setFixedToContainerLayer(bool) OVERRIDE; 96 virtual void setFixedToContainerLayer(bool) OVERRIDE;
97 virtual bool fixedToContainerLayer() const; 97 virtual bool fixedToContainerLayer() const;
98 virtual void setFixedToRightEdge(bool) OVERRIDE;
99 virtual bool fixedToRightEdge() const OVERRIDE;
100 virtual void setFixedToBottomEdge(bool) OVERRIDE;
101 virtual bool fixedToBottomEdge() const OVERRIDE;
98 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; 102 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE;
99 103
100 protected: 104 protected:
101 scoped_refptr<cc::Layer> layer_; 105 scoped_refptr<cc::Layer> layer_;
102 }; 106 };
103 107
104 } // namespace WebKit 108 } // namespace WebKit
105 109
106 #endif // WebLayerImpl_h 110 #endif // WebLayerImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698