diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 18:11:29 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 18:11:29 +0000 |
commit | f3c8c0e7caa8fca385a75f3dd5a929fa9aa9f7db (patch) | |
tree | 50ed2e6c5756eaa2c6a484cd0d1148b150ca9d74 /chrome/browser/browser.cc | |
parent | a1997505586b28c7c0a0718943ad533799017424 (diff) | |
download | chromium_src-f3c8c0e7caa8fca385a75f3dd5a929fa9aa9f7db.zip chromium_src-f3c8c0e7caa8fca385a75f3dd5a929fa9aa9f7db.tar.gz chromium_src-f3c8c0e7caa8fca385a75f3dd5a929fa9aa9f7db.tar.bz2 |
Now that we have file dialogs, we might as well hook up "Open File" on the Mac.
Review URL: http://codereview.chromium.org/93145
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 50f1eae..ac6701a 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1016,7 +1016,6 @@ void Browser::FocusSearch() { window_->GetLocationBar()->FocusSearch(); } -#if defined(OS_WIN) || defined(OS_LINUX) void Browser::OpenFile() { UserMetrics::RecordAction(L"OpenFile", profile_); if (!select_file_dialog_.get()) @@ -1029,7 +1028,6 @@ void Browser::OpenFile() { NULL, 0, FILE_PATH_LITERAL(""), parent_window, NULL); } -#endif #if defined(OS_WIN) void Browser::OpenCreateShortcutsDialog() { @@ -1328,9 +1326,7 @@ void Browser::ExecuteCommandWithDisposition( case IDC_FOCUS_SEARCH: FocusSearch(); break; // Show various bits of UI -#if defined(OS_WIN)|| defined(OS_LINUX) case IDC_OPEN_FILE: OpenFile(); break; -#endif #if defined(OS_WIN) case IDC_CREATE_SHORTCUTS: OpenCreateShortcutsDialog(); break; case IDC_DEBUGGER: OpenDebuggerWindow(); break; |