summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 18:54:35 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-18 18:54:35 +0000
commit130efb094a3c96bda00da28615b5c1e0481b7218 (patch)
treef8bb5604c20d811f4073a85ab4385eaced96918b /chrome/browser/browser.h
parent997e22224e1062a4cd39373057a68879a1d7a3ac (diff)
downloadchromium_src-130efb094a3c96bda00da28615b5c1e0481b7218.zip
chromium_src-130efb094a3c96bda00da28615b5c1e0481b7218.tar.gz
chromium_src-130efb094a3c96bda00da28615b5c1e0481b7218.tar.bz2
This CL makes the browser focus tests faster by replacing
some time-outs with notifications. BUG=22065 TEST=Run the interactive tests, especially BrowserFocusTest*FocusTraversal* These tests should run in few seconds. Review URL: http://codereview.chromium.org/210013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 5635c23..f5c1bd6 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -515,6 +515,7 @@ class Browser : public TabStripModelDelegate,
virtual void ContentsMouseEvent(TabContents* source, bool motion);
virtual void ContentsZoomChange(bool zoom_in);
virtual void TabContentsFocused(TabContents* tab_content);
+ virtual bool TakeFocus(bool reverse);
virtual bool IsApplication() const;
virtual void ConvertContentsToApplication(TabContents* source);
virtual bool ShouldDisplayURLField();