Home | History | Annotate | Download | only in download
      1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 //
      5 // Download utility functions for Mac OS X.
      6 
      7 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_
      8 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_
      9 #pragma once
     10 
     11 #import <Cocoa/Cocoa.h>
     12 
     13 class FilePath;
     14 
     15 namespace download_util {
     16 
     17 void AddFileToPasteboard(NSPasteboard* pasteboard, const FilePath& path);
     18 
     19 // Notify the system that a download completed. This will cause the download
     20 // folder in the dock to bounce.
     21 void NotifySystemOfDownloadComplete(const FilePath& path);
     22 
     23 }  // namespace download_util
     24 
     25 #endif  // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_
     26