summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 01:05:34 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 01:05:34 +0000
commitae61568f48cfae61a33bdcfdc5c3b9402cdbd2be (patch)
treef875cc3a945df6484644eb17c392f552d6adc7fa
parentc7e2ecd85a5705394a03527eea351fccec42b5f2 (diff)
downloadchromium_src-ae61568f48cfae61a33bdcfdc5c3b9402cdbd2be.zip
chromium_src-ae61568f48cfae61a33bdcfdc5c3b9402cdbd2be.tar.gz
chromium_src-ae61568f48cfae61a33bdcfdc5c3b9402cdbd2be.tar.bz2
Cleanup: Reload can't be disabled. (This change matches views and GTK.)
BUG=none TEST=none Review URL: http://codereview.chromium.org/3169029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56794 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/cocoa/toolbar_controller.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm
index f8e5fd2..57b0e38 100644
--- a/chrome/browser/cocoa/toolbar_controller.mm
+++ b/chrome/browser/cocoa/toolbar_controller.mm
@@ -422,9 +422,6 @@ class NotificationBridge : public NotificationObserver {
case IDC_FORWARD:
button = forwardButton_;
break;
- case IDC_RELOAD:
- button = reloadButton_;
- break;
case IDC_HOME:
button = homeButton_;
break;
@@ -438,7 +435,7 @@ class NotificationBridge : public NotificationObserver {
[backButton_ setEnabled:commands->IsCommandEnabled(IDC_BACK) ? YES : NO];
[forwardButton_
setEnabled:commands->IsCommandEnabled(IDC_FORWARD) ? YES : NO];
- [reloadButton_ setEnabled:commands->IsCommandEnabled(IDC_RELOAD) ? YES : NO];
+ [reloadButton_ setEnabled:YES];
[homeButton_ setEnabled:commands->IsCommandEnabled(IDC_HOME) ? YES : NO];
}