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

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

Issue 307963008: Highlighting on UAOS - alternate approach (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/layers/layer.h ('k') | webkit/renderer/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_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 const blink::WebVector<blink::WebRect>& region); 120 const blink::WebVector<blink::WebRect>& region);
121 virtual blink::WebVector<blink::WebRect> nonFastScrollableRegion() const; 121 virtual blink::WebVector<blink::WebRect> nonFastScrollableRegion() const;
122 virtual void setTouchEventHandlerRegion( 122 virtual void setTouchEventHandlerRegion(
123 const blink::WebVector<blink::WebRect>& region); 123 const blink::WebVector<blink::WebRect>& region);
124 virtual blink::WebVector<blink::WebRect> touchEventHandlerRegion() const; 124 virtual blink::WebVector<blink::WebRect> touchEventHandlerRegion() const;
125 virtual void setIsContainerForFixedPositionLayers(bool is_container); 125 virtual void setIsContainerForFixedPositionLayers(bool is_container);
126 virtual bool isContainerForFixedPositionLayers() const; 126 virtual bool isContainerForFixedPositionLayers() const;
127 virtual void setPositionConstraint( 127 virtual void setPositionConstraint(
128 const blink::WebLayerPositionConstraint& constraint); 128 const blink::WebLayerPositionConstraint& constraint);
129 virtual blink::WebLayerPositionConstraint positionConstraint() const; 129 virtual blink::WebLayerPositionConstraint positionConstraint() const;
130 virtual bool hasScrollChildren();
130 virtual void setScrollClient(blink::WebLayerScrollClient* client); 131 virtual void setScrollClient(blink::WebLayerScrollClient* client);
131 virtual bool isOrphan() const; 132 virtual bool isOrphan() const;
132 virtual void setWebLayerClient(blink::WebLayerClient* client); 133 virtual void setWebLayerClient(blink::WebLayerClient* client);
133 134
134 // LayerClient implementation. 135 // LayerClient implementation.
135 virtual scoped_refptr<base::debug::ConvertableToTraceFormat> 136 virtual scoped_refptr<base::debug::ConvertableToTraceFormat>
136 TakeDebugInfo() OVERRIDE; 137 TakeDebugInfo() OVERRIDE;
137 138
138 virtual void setScrollParent(blink::WebLayer* parent); 139 virtual void setScrollParent(blink::WebLayer* parent);
139 virtual void setClipParent(blink::WebLayer* parent); 140 virtual void setClipParent(blink::WebLayer* parent);
140 141
141 protected: 142 protected:
142 scoped_refptr<cc::Layer> layer_; 143 scoped_refptr<cc::Layer> layer_;
143 blink::WebLayerClient* web_layer_client_; 144 blink::WebLayerClient* web_layer_client_;
144 145
145 private: 146 private:
146 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 147 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
149 }; 150 };
150 151
151 } // namespace webkit 152 } // namespace webkit
152 153
153 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 154 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | webkit/renderer/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698