summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 20:23:49 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 20:23:49 +0000
commit4dbac174f218d1b0605fad8f37400becc2f52015 (patch)
treec02239e674e64d1672552fdb2ad2ccb221bfd55d /chrome/browser/browser.cc
parent27ba8536c70127d3367f4609cb0ee1e65944ae20 (diff)
downloadchromium_src-4dbac174f218d1b0605fad8f37400becc2f52015.zip
chromium_src-4dbac174f218d1b0605fad8f37400becc2f52015.tar.gz
chromium_src-4dbac174f218d1b0605fad8f37400becc2f52015.tar.bz2
Create an about dialog for GTK Chromium.
Review URL: http://codereview.chromium.org/93128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 36e3be6..2c7a637 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1135,12 +1135,12 @@ void Browser::OpenKeywordEditor() {
void Browser::OpenPasswordManager() {
window_->ShowPasswordManager();
}
+#endif
void Browser::OpenAboutChromeDialog() {
UserMetrics::RecordAction(L"AboutChrome", profile_);
window_->ShowAboutChromeDialog();
}
-#endif
void Browser::OpenHelpTab() {
GURL help_url(WideToASCII(l10n_util::GetString(IDS_HELP_CONTENT_URL)));
@@ -1354,8 +1354,8 @@ void Browser::ExecuteCommandWithDisposition(
case IDC_OPTIONS: OpenOptionsDialog(); break;
case IDC_EDIT_SEARCH_ENGINES: OpenKeywordEditor(); break;
case IDC_VIEW_PASSWORDS: OpenPasswordManager(); break;
- case IDC_ABOUT: OpenAboutChromeDialog(); break;
#endif
+ case IDC_ABOUT: OpenAboutChromeDialog(); break;
case IDC_HELP_PAGE: OpenHelpTab(); break;
default: