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

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: forgot to save the comments. sorry. :( Created 7 years, 8 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
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('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 WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_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/WebAnimation.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimation.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebColor.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void setShouldScrollOnMainThread(bool scroll_on_main); 103 virtual void setShouldScrollOnMainThread(bool scroll_on_main);
104 virtual bool shouldScrollOnMainThread() const; 104 virtual bool shouldScrollOnMainThread() const;
105 virtual void setNonFastScrollableRegion( 105 virtual void setNonFastScrollableRegion(
106 const WebKit::WebVector<WebKit::WebRect>& region); 106 const WebKit::WebVector<WebKit::WebRect>& region);
107 virtual WebKit::WebVector<WebKit::WebRect> nonFastScrollableRegion() const; 107 virtual WebKit::WebVector<WebKit::WebRect> nonFastScrollableRegion() const;
108 virtual void setTouchEventHandlerRegion( 108 virtual void setTouchEventHandlerRegion(
109 const WebKit::WebVector<WebKit::WebRect>& region); 109 const WebKit::WebVector<WebKit::WebRect>& region);
110 virtual WebKit::WebVector<WebKit::WebRect> touchEventHandlerRegion() const; 110 virtual WebKit::WebVector<WebKit::WebRect> touchEventHandlerRegion() const;
111 virtual void setIsContainerForFixedPositionLayers(bool is_container); 111 virtual void setIsContainerForFixedPositionLayers(bool is_container);
112 virtual bool isContainerForFixedPositionLayers() const; 112 virtual bool isContainerForFixedPositionLayers() const;
113 virtual void setFixedToContainerLayer(bool is_fixed); 113 virtual void setPositionConstraint(
114 virtual bool fixedToContainerLayer() const; 114 const WebKit::WebLayerPositionConstraint& constraint);
115 virtual WebKit::WebLayerPositionConstraint positionConstraint() const;
115 virtual void setScrollClient(WebKit::WebLayerScrollClient* client); 116 virtual void setScrollClient(WebKit::WebLayerScrollClient* client);
116 virtual bool isOrphan() const; 117 virtual bool isOrphan() const;
117 118
118 protected: 119 protected:
119 scoped_refptr<cc::Layer> layer_; 120 scoped_refptr<cc::Layer> layer_;
120 121
121 private: 122 private:
122 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 123 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
123 }; 124 };
124 125
125 } // namespace WebKit 126 } // namespace WebKit
126 127
127 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 128 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698