diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_delegate.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_delegate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_delegate.h b/chrome/browser/tab_contents/tab_contents_delegate.h index ac8739c..87e228e 100644 --- a/chrome/browser/tab_contents/tab_contents_delegate.h +++ b/chrome/browser/tab_contents/tab_contents_delegate.h @@ -157,6 +157,13 @@ class TabContentsDelegate : public PageNavigator { // this to disable inactive rendering for the frame in the window the select // is opened within if necessary. virtual void RenderWidgetShowing() {} + + // This is called when webkit tells us that it is done tabbing through + // controls on the page. Provides a way for TabContentsDelegates to handle + // this. Returns true if the delegate successfully handled it. + virtual bool TakeFocus(bool reverse) { + return false; + } }; #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_DELEGATE_H_ |