Add Shell API.
Include APIs: shell.showItemInFolder shell.openItem shell.openExternal shell.moveItemToTrash
This commit is contained in:
parent
fbad5bc822
commit
157c978aa8
7 changed files with 159 additions and 0 deletions
|
@ -25,6 +25,9 @@ void OpenItem(const base::FilePath& full_path);
|
|||
// (For example, mailto: URLs in the default mail user agent.)
|
||||
void OpenExternal(const GURL& url);
|
||||
|
||||
// Move a file to trash.
|
||||
void MoveItemToTrash(const base::FilePath& full_path);
|
||||
|
||||
} // platform_util
|
||||
|
||||
#endif // ATOM_COMMON_PLATFORM_UTIL_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue