Index: chrome/browser/ui/views/frame/top_container_view.h |
diff --git a/chrome/browser/ui/views/frame/top_container_view.h b/chrome/browser/ui/views/frame/top_container_view.h |
index c18162e9d5721385fce95eabc738c8b6e6420603..6d7bc496586de29daa22e208ae6bf618009688c8 100644 |
--- a/chrome/browser/ui/views/frame/top_container_view.h |
+++ b/chrome/browser/ui/views/frame/top_container_view.h |
@@ -20,9 +20,16 @@ class TopContainerView : public views::View { |
explicit TopContainerView(BrowserView* browser_view); |
virtual ~TopContainerView(); |
+ // If the view is animating its bounds, returns the target bounds. Otheriwse, |
+ // returns the view's bounds. |
+ // TODO(pkotwicz): Investigate if GetBoundsInScreen() can return the view's |
+ // target bounds. |
+ gfx::Rect GetTargetBoundsInScreen() const; |
+ |
// views::View overrides: |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
virtual std::string GetClassName() const OVERRIDE; |
+ virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE; |
virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; |
private: |