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

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

Issue 11659004: Add support for tagging layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exposing enum in cc. Created 8 years 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/layer_tree_host.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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual bool shouldScrollOnMainThread() const; 87 virtual bool shouldScrollOnMainThread() const;
88 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; 88 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE;
89 virtual WebVector<WebRect> nonFastScrollableRegion() const; 89 virtual WebVector<WebRect> nonFastScrollableRegion() const;
90 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&); 90 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&);
91 virtual WebVector<WebRect> touchEventHandlerRegion() const; 91 virtual WebVector<WebRect> touchEventHandlerRegion() const;
92 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; 92 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE;
93 virtual bool isContainerForFixedPositionLayers() const; 93 virtual bool isContainerForFixedPositionLayers() const;
94 virtual void setFixedToContainerLayer(bool) OVERRIDE; 94 virtual void setFixedToContainerLayer(bool) OVERRIDE;
95 virtual bool fixedToContainerLayer() const; 95 virtual bool fixedToContainerLayer() const;
96 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; 96 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE;
97 virtual void setTags(unsigned) OVERRIDE;
98 virtual unsigned getTags() const OVERRIDE;
99 virtual void addTag(WebLayer::Tag) OVERRIDE;
100 virtual bool getTag(WebLayer::Tag) const OVERRIDE;
97 101
98 cc::Layer* layer() const; 102 cc::Layer* layer() const;
99 103
100 protected: 104 protected:
101 scoped_refptr<cc::Layer> m_layer; 105 scoped_refptr<cc::Layer> m_layer;
102 }; 106 };
103 107
104 } // namespace WebKit 108 } // namespace WebKit
105 109
106 #endif // WebLayerImpl_h 110 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698