Index: chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h b/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
index 3862f55b655292536d153fb3b5a9d5516f14d890..3f5b29989dd16f29c0f0806e53c0717cf1030895 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h |
@@ -26,6 +26,18 @@ class TabContentsWrapperDelegate { |
virtual void SwapTabContents(TabContentsWrapper* old_tc, |
TabContentsWrapper* new_tc) = 0; |
+ // Invoked prior to the TabContentsWrapper showing a constrained window. |
+ virtual void WillShowConstrainedWindow(TabContentsWrapper* source); |
+ |
+ // Returns true if constrained windows should be focused. Default is true. |
+ virtual bool ShouldFocusConstrainedWindow(); |
+ |
+ // Changes the blocked state of |wrapper|. TabContents are considered blocked |
+ // while displaying a tab modal dialog. During that time renderer host will |
+ // ignore any UI interaction within TabContent outside of the currently |
+ // displaying dialog. |
+ virtual void SetTabContentBlocked(TabContentsWrapper* wrapper, bool blocked); |
Avi (use Gerrit)
2011/09/28 00:16:50
Are these for the constrained window stuff? (Looks
|
+ |
protected: |
virtual ~TabContentsWrapperDelegate(); |
}; |