Index: chrome/browser/browser_window.h |
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h |
index 9009327036d4506163dc570a87ac130cb4b309e3..4ff6d5e1dda2d633bbe6044df87f5c9e4219d40c 100644 |
--- a/chrome/browser/browser_window.h |
+++ b/chrome/browser/browser_window.h |
@@ -318,6 +318,11 @@ class BrowserWindow { |
// Invoked when the match preview's tab contents should be hidden. |
virtual void HideMatchPreview() = 0; |
+ // Returns the desired bounds for match preview in screen coordinates. Note |
+ // that if match preview isn't currently visible this returns the bounds the |
+ // match preview would be placed at. |
+ virtual gfx::Rect GetMatchPreviewBounds() = 0; |
+ |
// Construct a BrowserWindow implementation for the specified |browser|. |
static BrowserWindow* CreateBrowserWindow(Browser* browser); |