Commit 95ba1635 authored by Asanka Herath's avatar Asanka Herath Committed by Commit Bot

Remove ui::win::OpenAnyViaShell()

It's not used.

Change-Id: I741e8fe3285a43c12e3e1cad1cb1591647c3dc17
Reviewed-on: https://chromium-review.googlesource.com/998753Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Asanka Herath <asanka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548795}
parent c3360afa
...@@ -56,13 +56,6 @@ bool InvokeShellExecute(const base::string16 path, ...@@ -56,13 +56,6 @@ bool InvokeShellExecute(const base::string16 path,
} // namespace } // namespace
bool OpenAnyViaShell(const base::string16& full_path,
const base::string16& directory,
const base::string16& args,
DWORD mask) {
return InvokeShellExecute(full_path, directory, args, base::string16(), mask);
}
bool OpenFileViaShell(const base::FilePath& full_path) { bool OpenFileViaShell(const base::FilePath& full_path) {
// Invoke the default verb on the file with no arguments. // Invoke the default verb on the file with no arguments.
return InvokeShellExecute(full_path.value(), full_path.DirName().value(), return InvokeShellExecute(full_path.value(), full_path.DirName().value(),
......
...@@ -34,17 +34,6 @@ UI_BASE_EXPORT bool OpenFolderViaShell(const base::FilePath& full_path); ...@@ -34,17 +34,6 @@ UI_BASE_EXPORT bool OpenFolderViaShell(const base::FilePath& full_path);
// Note: Must be called on a thread that allows blocking. // Note: Must be called on a thread that allows blocking.
UI_BASE_EXPORT bool OpenFileViaShell(const base::FilePath& full_path); UI_BASE_EXPORT bool OpenFileViaShell(const base::FilePath& full_path);
// Lower level function that allows opening of non-files like urls or GUIDs
// don't use it if one of the above will do. |mask| is a valid combination
// of SEE_MASK_XXX as stated in MSDN. If there is no default application
// registered for the item, it behaves the same as OpenFileViaShell.
//
// Note: Must be called on a thread that allows blocking.
UI_BASE_EXPORT bool OpenAnyViaShell(const base::string16& full_path,
const base::string16& directory,
const base::string16& args,
DWORD mask);
// Disables the ability of the specified window to be pinned to the taskbar or // Disables the ability of the specified window to be pinned to the taskbar or
// the Start menu. This will remove "Pin this program to taskbar" from the // the Start menu. This will remove "Pin this program to taskbar" from the
// taskbar menu of the specified window. // taskbar menu of the specified window.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment