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

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

Issue 686653002: Remove a bunch of fixed position dead code. (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
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 126 virtual void setIsContainerForFixedPositionLayers(bool is_container);
127 virtual bool isContainerForFixedPositionLayers() const; 127 virtual bool isContainerForFixedPositionLayers() const;
128 virtual void setPositionConstraint(
129 const blink::WebLayerPositionConstraint& constraint);
130 virtual blink::WebLayerPositionConstraint positionConstraint() const;
131 virtual void setScrollClient(blink::WebLayerScrollClient* client); 128 virtual void setScrollClient(blink::WebLayerScrollClient* client);
132 virtual bool isOrphan() const; 129 virtual bool isOrphan() const;
133 virtual void setWebLayerClient(blink::WebLayerClient* client); 130 virtual void setWebLayerClient(blink::WebLayerClient* client);
134 131
135 // LayerClient implementation. 132 // LayerClient implementation.
136 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo() 133 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> TakeDebugInfo()
137 override; 134 override;
138 135
139 virtual void setScrollParent(blink::WebLayer* parent); 136 virtual void setScrollParent(blink::WebLayer* parent);
140 virtual void setClipParent(blink::WebLayer* parent); 137 virtual void setClipParent(blink::WebLayer* parent);
141 138
142 protected: 139 protected:
143 scoped_refptr<cc::Layer> layer_; 140 scoped_refptr<cc::Layer> layer_;
144 blink::WebLayerClient* web_layer_client_; 141 blink::WebLayerClient* web_layer_client_;
145 142
146 private: 143 private:
147 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 144 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
148 145
149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 146 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
150 }; 147 };
151 148
152 } // namespace sky_viewer_cc 149 } // namespace sky_viewer_cc
153 150
154 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_ 151 #endif // SKY_VIEWER_CC_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebLayerPositionConstraint.h ('k') | sky/viewer/cc/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698