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

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

Issue 23983047: Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Backup 2013.10.29 Created 7 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
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void removeAnimation(int animation_id, 93 virtual void removeAnimation(int animation_id,
94 WebKit::WebAnimation::TargetProperty); 94 WebKit::WebAnimation::TargetProperty);
95 virtual void pauseAnimation(int animation_id, double time_offset); 95 virtual void pauseAnimation(int animation_id, double time_offset);
96 virtual void suspendAnimations(double monotonic_time); 96 virtual void suspendAnimations(double monotonic_time);
97 virtual bool hasActiveAnimation(); 97 virtual bool hasActiveAnimation();
98 virtual void setForceRenderSurface(bool force); 98 virtual void setForceRenderSurface(bool force);
99 virtual void setScrollPosition(WebKit::WebPoint position); 99 virtual void setScrollPosition(WebKit::WebPoint position);
100 virtual WebKit::WebPoint scrollPosition() const; 100 virtual WebKit::WebPoint scrollPosition() const;
101 virtual void setMaxScrollPosition(WebKit::WebSize max_position); 101 virtual void setMaxScrollPosition(WebKit::WebSize max_position);
102 virtual WebKit::WebSize maxScrollPosition() const; 102 virtual WebKit::WebSize maxScrollPosition() const;
103 virtual void setScrollable(bool scrollable); 103 virtual void setScrollable(WebKit::WebLayer* clip_layer);
104 virtual bool scrollable() const; 104 virtual bool scrollable() const;
105 virtual void setUserScrollable(bool horizontal, bool vertical); 105 virtual void setUserScrollable(bool horizontal, bool vertical);
106 virtual bool userScrollableHorizontal() const; 106 virtual bool userScrollableHorizontal() const;
107 virtual bool userScrollableVertical() const; 107 virtual bool userScrollableVertical() const;
108 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers); 108 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers);
109 virtual bool haveWheelEventHandlers() const; 109 virtual bool haveWheelEventHandlers() const;
110 virtual void setShouldScrollOnMainThread(bool scroll_on_main); 110 virtual void setShouldScrollOnMainThread(bool scroll_on_main);
111 virtual bool shouldScrollOnMainThread() const; 111 virtual bool shouldScrollOnMainThread() const;
112 virtual void setNonFastScrollableRegion( 112 virtual void setNonFastScrollableRegion(
113 const WebKit::WebVector<WebKit::WebRect>& region); 113 const WebKit::WebVector<WebKit::WebRect>& region);
(...skipping 22 matching lines...) Expand all
136 136
137 private: 137 private:
138 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 138 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 140 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
141 }; 141 };
142 142
143 } // namespace webkit 143 } // namespace webkit
144 144
145 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 145 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698