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

Side by Side Diff: sky/viewer/cc/web_layer_impl.h

Issue 680263005: Remove layerIsContainerForFixedPositionLayers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/public/platform/WebLayer.h ('k') | sky/viewer/cc/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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ 5 #ifndef SKY_VIEWER_CC_WEB_LAYER_IMPL_H_
6 #define SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ 6 #define SKY_VIEWER_CC_WEB_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void setHaveScrollEventHandlers(bool have_scroll_event_handlers); 116 virtual void setHaveScrollEventHandlers(bool have_scroll_event_handlers);
117 virtual bool haveScrollEventHandlers() const; 117 virtual bool haveScrollEventHandlers() const;
118 virtual void setShouldScrollOnMainThread(bool scroll_on_main); 118 virtual void setShouldScrollOnMainThread(bool scroll_on_main);
119 virtual bool shouldScrollOnMainThread() const; 119 virtual bool shouldScrollOnMainThread() const;
120 virtual void setNonFastScrollableRegion( 120 virtual void setNonFastScrollableRegion(
121 const blink::WebVector<blink::WebRect>& region); 121 const blink::WebVector<blink::WebRect>& region);
122 virtual blink::WebVector<blink::WebRect> nonFastScrollableRegion() const; 122 virtual blink::WebVector<blink::WebRect> nonFastScrollableRegion() const;
123 virtual void setTouchEventHandlerRegion( 123 virtual void setTouchEventHandlerRegion(
124 const blink::WebVector<blink::WebRect>& region); 124 const blink::WebVector<blink::WebRect>& region);
125 virtual blink::WebVector<blink::WebRect> touchEventHandlerRegion() const; 125 virtual blink::WebVector<blink::WebRect> touchEventHandlerRegion() const;
126 virtual void setIsContainerForFixedPositionLayers(bool is_container);
127 virtual bool isContainerForFixedPositionLayers() const;
128 virtual void setScrollClient(blink::WebLayerScrollClient* client); 126 virtual void setScrollClient(blink::WebLayerScrollClient* client);
129 virtual bool isOrphan() const; 127 virtual bool isOrphan() const;
130 virtual void setWebLayerClient(blink::WebLayerClient* client); 128 virtual void setWebLayerClient(blink::WebLayerClient* client);
131 129
132 // LayerClient implementation. 130 // LayerClient implementation.
133 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo() 131 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo()
134 override; 132 override;
135 133
136 virtual void setScrollParent(blink::WebLayer* parent); 134 virtual void setScrollParent(blink::WebLayer* parent);
137 virtual void setClipParent(blink::WebLayer* parent); 135 virtual void setClipParent(blink::WebLayer* parent);
138 136
139 protected: 137 protected:
140 scoped_refptr<cc::Layer> layer_; 138 scoped_refptr<cc::Layer> layer_;
141 blink::WebLayerClient* web_layer_client_; 139 blink::WebLayerClient* web_layer_client_;
142 140
143 private: 141 private:
144 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 142 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
145 143
146 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 144 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
147 }; 145 };
148 146
149 } // namespace sky_viewer_cc 147 } // namespace sky_viewer_cc
150 148
151 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ 149 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebLayer.h ('k') | sky/viewer/cc/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698