diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 15:57:57 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 15:57:57 +0000 |
commit | 4bcefee86bc83dd026dbc49477cba7c914c4e881 (patch) | |
tree | cb8e2d086ef4dfecb6c7a6fadbfd05ce6fb4708e /chrome/browser/browser.h | |
parent | 4e60c8de62c93da72ff8bd7ee5f3c4d10df2af6b (diff) | |
download | chromium_src-4bcefee86bc83dd026dbc49477cba7c914c4e881.zip chromium_src-4bcefee86bc83dd026dbc49477cba7c914c4e881.tar.gz chromium_src-4bcefee86bc83dd026dbc49477cba7c914c4e881.tar.bz2 |
Remove the Windows set focus call and bad-design browser call from the new tab
UI by plumbing through a delegate notification. This will also fix metrics for
the "focus the URL bar" command.
This also includes some OCD URL-formatting changes to the DOM UI that I noticed.
Review URL: http://codereview.chromium.org/19455
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index c6977d6..e9880bc 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -401,6 +401,7 @@ class Browser : public TabStripModelDelegate, bool* proceed_to_fire_unload); virtual void ShowHtmlDialog(HtmlDialogContentsDelegate* delegate, void* parent_window); + virtual void SetFocusToLocationBar(); // Overridden from SelectFileDialog::Listener: virtual void FileSelected(const std::wstring& path, void* params); |