| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/browser/ui/views/frame/scroll_end_effect_controller.h" | 9 #include "chrome/browser/ui/views/frame/scroll_end_effect_controller.h" |
| 10 | 10 |
| 11 class ScrollEndEffectControllerAsh : public ScrollEndEffectController { | 11 class ScrollEndEffectControllerAsh : public ScrollEndEffectController { |
| 12 public: | 12 public: |
| 13 ScrollEndEffectControllerAsh(); | 13 ScrollEndEffectControllerAsh(); |
| 14 virtual ~ScrollEndEffectControllerAsh(); | 14 virtual ~ScrollEndEffectControllerAsh(); |
| 15 | 15 |
| 16 // ScrollEndEffectController overides: | 16 // ScrollEndEffectController overides: |
| 17 virtual void OverscrollUpdate(int delta_y) override; | 17 virtual void OverscrollUpdate(float delta_y) override; |
| 18 | 18 |
| 19 private: | 19 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(ScrollEndEffectControllerAsh); | 20 DISALLOW_COPY_AND_ASSIGN(ScrollEndEffectControllerAsh); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ | 23 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_ |
| OLD | NEW |