Index: chrome/browser/ui/views/frame/scroll_end_effect_controller_delegate.h |
diff --git a/chrome/browser/ui/views/frame/scroll_end_effect_controller_delegate.h b/chrome/browser/ui/views/frame/scroll_end_effect_controller_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..17214d092c8752635f829c99b50cd047eec60b8d |
--- /dev/null |
+++ b/chrome/browser/ui/views/frame/scroll_end_effect_controller_delegate.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H_ |
+#define CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H_ |
+ |
+namespace gfx { |
+class Rect; |
+} |
+ |
+class ContentsContainer; |
+ |
+// Delegate for ScrollEndEffectController instances, normally implemented by |
+// BrowserView |
+class ScrollEndEffectControllerDelegate { |
+ public: |
+ virtual ContentsContainer* GetContentsContainer() = 0; |
+ virtual gfx::Rect GetFrameBounds() = 0; |
+ virtual void SetFrameBounds(gfx::Rect bounds) = 0; |
+ |
+ protected: |
+ virtual ~ScrollEndEffectControllerDelegate() { } |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_SCROLL_END_EFFECT_CONTROLLER_DELEGATE_H_ |
+ |