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

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

Issue 146713002: Revert of Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « ui/gfx/transform.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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void setAnimationDelegate(blink::WebAnimationDelegate* delegate); 100 virtual void setAnimationDelegate(blink::WebAnimationDelegate* delegate);
101 virtual bool addAnimation(blink::WebAnimation* animation); 101 virtual bool addAnimation(blink::WebAnimation* animation);
102 virtual void removeAnimation(int animation_id); 102 virtual void removeAnimation(int animation_id);
103 virtual void removeAnimation(int animation_id, 103 virtual void removeAnimation(int animation_id,
104 blink::WebAnimation::TargetProperty); 104 blink::WebAnimation::TargetProperty);
105 virtual void pauseAnimation(int animation_id, double time_offset); 105 virtual void pauseAnimation(int animation_id, double time_offset);
106 virtual bool hasActiveAnimation(); 106 virtual bool hasActiveAnimation();
107 virtual void setForceRenderSurface(bool force); 107 virtual void setForceRenderSurface(bool force);
108 virtual void setScrollPosition(blink::WebPoint position); 108 virtual void setScrollPosition(blink::WebPoint position);
109 virtual blink::WebPoint scrollPosition() const; 109 virtual blink::WebPoint scrollPosition() const;
110 virtual void setMaxScrollPosition(blink::WebSize max_position);
110 virtual blink::WebSize maxScrollPosition() const; 111 virtual blink::WebSize maxScrollPosition() const;
111 virtual void setScrollClipLayer(blink::WebLayer* clip_layer); 112 virtual void setScrollable(bool scrollable);
112 virtual bool scrollable() const; 113 virtual bool scrollable() const;
113 virtual void setUserScrollable(bool horizontal, bool vertical); 114 virtual void setUserScrollable(bool horizontal, bool vertical);
114 virtual bool userScrollableHorizontal() const; 115 virtual bool userScrollableHorizontal() const;
115 virtual bool userScrollableVertical() const; 116 virtual bool userScrollableVertical() const;
116 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers); 117 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers);
117 virtual bool haveWheelEventHandlers() const; 118 virtual bool haveWheelEventHandlers() const;
118 virtual void setShouldScrollOnMainThread(bool scroll_on_main); 119 virtual void setShouldScrollOnMainThread(bool scroll_on_main);
119 virtual bool shouldScrollOnMainThread() const; 120 virtual bool shouldScrollOnMainThread() const;
120 virtual void setNonFastScrollableRegion( 121 virtual void setNonFastScrollableRegion(
121 const blink::WebVector<blink::WebRect>& region); 122 const blink::WebVector<blink::WebRect>& region);
(...skipping 23 matching lines...) Expand all
145 146
146 private: 147 private:
147 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 148 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
148 149
149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 150 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
150 }; 151 };
151 152
152 } // namespace webkit 153 } // namespace webkit
153 154
154 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_ 155 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « ui/gfx/transform.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