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

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: Rebase to r248052. Created 6 years, 10 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);
111 virtual blink::WebSize maxScrollPosition() const; 110 virtual blink::WebSize maxScrollPosition() const;
112 virtual void setScrollable(bool scrollable); 111 virtual void setScrollClipLayer(blink::WebLayer* clip_layer);
113 virtual bool scrollable() const; 112 virtual bool scrollable() const;
114 virtual void setUserScrollable(bool horizontal, bool vertical); 113 virtual void setUserScrollable(bool horizontal, bool vertical);
115 virtual bool userScrollableHorizontal() const; 114 virtual bool userScrollableHorizontal() const;
116 virtual bool userScrollableVertical() const; 115 virtual bool userScrollableVertical() const;
117 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers); 116 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers);
118 virtual bool haveWheelEventHandlers() const; 117 virtual bool haveWheelEventHandlers() const;
119 virtual void setShouldScrollOnMainThread(bool scroll_on_main); 118 virtual void setShouldScrollOnMainThread(bool scroll_on_main);
120 virtual bool shouldScrollOnMainThread() const; 119 virtual bool shouldScrollOnMainThread() const;
121 virtual void setNonFastScrollableRegion( 120 virtual void setNonFastScrollableRegion(
122 const blink::WebVector<blink::WebRect>& region); 121 const blink::WebVector<blink::WebRect>& region);
(...skipping 23 matching lines...) Expand all
146 145
147 private: 146 private:
148 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 147 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
149 148
150 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
151 }; 150 };
152 151
153 } // namespace webkit 152 } // namespace webkit
154 153
155 #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 | « 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