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

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

Issue 11377013: Add touchEventHandlerRegion to Layer and LayerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed OVERRIDE from web_layer_impl Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_impl.h ('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 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual void setMaxScrollPosition(WebSize) OVERRIDE; 81 virtual void setMaxScrollPosition(WebSize) OVERRIDE;
82 virtual WebSize maxScrollPosition() const; 82 virtual WebSize maxScrollPosition() const;
83 virtual void setScrollable(bool) OVERRIDE; 83 virtual void setScrollable(bool) OVERRIDE;
84 virtual bool scrollable() const; 84 virtual bool scrollable() const;
85 virtual void setHaveWheelEventHandlers(bool) OVERRIDE; 85 virtual void setHaveWheelEventHandlers(bool) OVERRIDE;
86 virtual bool haveWheelEventHandlers() const; 86 virtual bool haveWheelEventHandlers() const;
87 virtual void setShouldScrollOnMainThread(bool) OVERRIDE; 87 virtual void setShouldScrollOnMainThread(bool) OVERRIDE;
88 virtual bool shouldScrollOnMainThread() const; 88 virtual bool shouldScrollOnMainThread() const;
89 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE; 89 virtual void setNonFastScrollableRegion(const WebVector<WebRect>&) OVERRIDE;
90 virtual WebVector<WebRect> nonFastScrollableRegion() const; 90 virtual WebVector<WebRect> nonFastScrollableRegion() const;
91 virtual void setTouchEventHandlerRegion(const WebVector<WebRect>&);
92 virtual WebVector<WebRect> touchEventHandlerRegion() const;
91 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE; 93 virtual void setIsContainerForFixedPositionLayers(bool) OVERRIDE;
92 virtual bool isContainerForFixedPositionLayers() const; 94 virtual bool isContainerForFixedPositionLayers() const;
93 virtual void setFixedToContainerLayer(bool) OVERRIDE; 95 virtual void setFixedToContainerLayer(bool) OVERRIDE;
94 virtual bool fixedToContainerLayer() const; 96 virtual bool fixedToContainerLayer() const;
95 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE; 97 virtual void setScrollClient(WebLayerScrollClient*) OVERRIDE;
96 98
97 cc::Layer* layer() const; 99 cc::Layer* layer() const;
98 100
99 protected: 101 protected:
100 scoped_refptr<cc::Layer> m_layer; 102 scoped_refptr<cc::Layer> m_layer;
101 }; 103 };
102 104
103 } // namespace WebKit 105 } // namespace WebKit
104 106
105 #endif // WebLayerImpl_h 107 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « cc/layer_impl.h ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698