| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_BLINK_WEB_LAYER_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_ |
| 6 #define CC_BLINK_WEB_LAYER_IMPL_H_ | 6 #define CC_BLINK_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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 blink::WebCompositorAnimationDelegate* delegate); | 98 blink::WebCompositorAnimationDelegate* delegate); |
| 99 virtual bool addAnimation(blink::WebCompositorAnimation* animation); | 99 virtual bool addAnimation(blink::WebCompositorAnimation* animation); |
| 100 virtual void removeAnimation(int animation_id); | 100 virtual void removeAnimation(int animation_id); |
| 101 virtual void removeAnimation(int animation_id, | 101 virtual void removeAnimation(int animation_id, |
| 102 blink::WebCompositorAnimation::TargetProperty); | 102 blink::WebCompositorAnimation::TargetProperty); |
| 103 virtual void pauseAnimation(int animation_id, double time_offset); | 103 virtual void pauseAnimation(int animation_id, double time_offset); |
| 104 virtual bool hasActiveAnimation(); | 104 virtual bool hasActiveAnimation(); |
| 105 virtual void setForceRenderSurface(bool force); | 105 virtual void setForceRenderSurface(bool force); |
| 106 virtual void setScrollPositionDouble(blink::WebDoublePoint position); | 106 virtual void setScrollPositionDouble(blink::WebDoublePoint position); |
| 107 virtual blink::WebDoublePoint scrollPositionDouble() const; | 107 virtual blink::WebDoublePoint scrollPositionDouble() const; |
| 108 virtual void setScrollCompensationAdjustment(blink::WebDoublePoint position); |
| 108 virtual void setScrollClipLayer(blink::WebLayer* clip_layer); | 109 virtual void setScrollClipLayer(blink::WebLayer* clip_layer); |
| 109 virtual bool scrollable() const; | 110 virtual bool scrollable() const; |
| 110 virtual void setUserScrollable(bool horizontal, bool vertical); | 111 virtual void setUserScrollable(bool horizontal, bool vertical); |
| 111 virtual bool userScrollableHorizontal() const; | 112 virtual bool userScrollableHorizontal() const; |
| 112 virtual bool userScrollableVertical() const; | 113 virtual bool userScrollableVertical() const; |
| 113 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers); | 114 virtual void setHaveWheelEventHandlers(bool have_wheel_event_handlers); |
| 114 virtual bool haveWheelEventHandlers() const; | 115 virtual bool haveWheelEventHandlers() const; |
| 115 virtual void setHaveScrollEventHandlers(bool have_scroll_event_handlers); | 116 virtual void setHaveScrollEventHandlers(bool have_scroll_event_handlers); |
| 116 virtual bool haveScrollEventHandlers() const; | 117 virtual bool haveScrollEventHandlers() const; |
| 117 virtual void setShouldScrollOnMainThread(bool scroll_on_main); | 118 virtual void setShouldScrollOnMainThread(bool scroll_on_main); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 143 | 144 |
| 144 private: | 145 private: |
| 145 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 146 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
| 146 | 147 |
| 147 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 148 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace cc_blink | 151 } // namespace cc_blink |
| 151 | 152 |
| 152 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 153 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |