[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / scroll_end_effect_controller_ash.h
blob9c14e7f08a5eeec902052a6d15d4849901379249
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
3 // found in the LICENSE file.
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_
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/views/frame/scroll_end_effect_controller.h"
11 class ScrollEndEffectControllerAsh : public ScrollEndEffectController {
12 public:
13 ScrollEndEffectControllerAsh();
14 virtual ~ScrollEndEffectControllerAsh();
16 // ScrollEndEffectController overides:
17 virtual void OverscrollUpdate(int delta_y) OVERRIDE;
19 private:
20 DISALLOW_COPY_AND_ASSIGN(ScrollEndEffectControllerAsh);
23 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_ASH_H_