OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H_ |
| 7 |
| 8 namespace gfx { |
| 9 class Rect; |
| 10 } |
| 11 |
| 12 class ContentsContainer; |
| 13 |
| 14 // Delegate for ScrollEndEffectController instances, normally implemented by |
| 15 // BrowserView |
| 16 class ScrollEndEffectControllerDelegate { |
| 17 public: |
| 18 virtual ContentsContainer* GetContentsContainer() = 0; |
| 19 virtual gfx::Rect GetFrameBounds() = 0; |
| 20 virtual void SetFrameBounds(gfx::Rect bounds) = 0; |
| 21 |
| 22 protected: |
| 23 virtual ~ScrollEndEffectControllerDelegate() { } |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H
_ |
| 27 |
OLD | NEW |