diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 22:50:13 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 22:50:13 +0000 |
commit | e9ef0a64254e178c3da21e0e27222b11af447dee (patch) | |
tree | 98598d7e72e5c2014f3af75bccb9b1faa1b946ac /chrome/browser/download/download_exe.cc | |
parent | f9b1e69dc13119e673795c7ab5b7a302dcd68ee1 (diff) | |
download | chromium_src-e9ef0a64254e178c3da21e0e27222b11af447dee.zip chromium_src-e9ef0a64254e178c3da21e0e27222b11af447dee.tar.gz chromium_src-e9ef0a64254e178c3da21e0e27222b11af447dee.tar.bz2 |
Add "dangerous download" view on OS X, for now for dmg files. Also fix download item layout.
BUG=14667,17831
TEST=Download a dmg file. Make sure the "dangerous download" view appears. Check that both buttons work, and that the dmg filename is elided correctly. Also test that "Remove" on a normal download item's context menu relayouts the remaining items on the shelf.
Review URL: http://codereview.chromium.org/165295
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_exe.cc')
-rw-r--r-- | chrome/browser/download/download_exe.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/download/download_exe.cc b/chrome/browser/download/download_exe.cc index 2663b54..39a14f7 100644 --- a/chrome/browser/download/download_exe.cc +++ b/chrome/browser/download/download_exe.cc @@ -145,7 +145,10 @@ static const char* const g_executables[] = { "py", "rb", "sh", -#endif // defined(OS_LINUX) +#elif defined(OS_MACOSX) + // TODO(thakis): Figure out what makes sense here -- crbug.com/19096 + "dmg", +#endif }; void InitializeExeTypes(std::set<std::string>* exe_extensions) { |