diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 10:00:18 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 10:00:18 +0000 |
commit | fcce10d861dae5234e0a9f424bdec256ee79c39d (patch) | |
tree | c3572de538cb33c4b2c08071d7a5e0dec86bb010 /chrome | |
parent | 19cd84b3cf2b0bc58837dbbe69bb0aea3d3ce841 (diff) | |
download | chromium_src-fcce10d861dae5234e0a9f424bdec256ee79c39d.zip chromium_src-fcce10d861dae5234e0a9f424bdec256ee79c39d.tar.gz chromium_src-fcce10d861dae5234e0a9f424bdec256ee79c39d.tar.bz2 |
Fix find in page. When fixing the conflict after updating, I accidentally
removed the code that updates the find in page commands.
Review URL: http://codereview.chromium.org/100331
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/browser.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 6d4e3a6..f35d46c 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -2190,6 +2190,11 @@ void Browser::UpdateCommandsForTabState() { SavePackage::IsSavableContents(current_tab->contents_mime_type()) && SavePackage::IsSavableURL(current_tab->GetURL())); + // Find-in-page + command_updater_.UpdateCommandEnabled(IDC_FIND, true); + command_updater_.UpdateCommandEnabled(IDC_FIND_NEXT, true); + command_updater_.UpdateCommandEnabled(IDC_FIND_PREVIOUS, true); + // Zoom command_updater_.UpdateCommandEnabled(IDC_ZOOM_MENU, true); command_updater_.UpdateCommandEnabled(IDC_ZOOM_PLUS, true); |