Index: chrome/browser/views/frame/contents_container.h |
diff --git a/chrome/browser/views/frame/contents_container.h b/chrome/browser/views/frame/contents_container.h |
index 533ad3618c2b16f7f12dcee08fefe38aeab58fe6..9a03c38f82d82ad8c74a859fcf12703afc0a56c7 100644 |
--- a/chrome/browser/views/frame/contents_container.h |
+++ b/chrome/browser/views/frame/contents_container.h |
@@ -36,6 +36,10 @@ class ContentsContainer : public views::View { |
// Sets the active top margin. |
void SetActiveTopMargin(int margin); |
+ // Returns the bounds of the preview. If the preview isn't active this |
+ // retuns the bounds the preview would be shown at. |
+ gfx::Rect GetPreviewBounds(); |
+ |
// View overrides: |
virtual void Layout(); |