Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1547)

Unified Diff: chrome/browser/platform_util_internal.h

Issue 209613002: Download shelf autohides on showing in shell, just same as regular open Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added browser and unit tests. Renamed 'UserActed' to 'OpenedOrShown'. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/platform_util.cc ('k') | chrome/browser/platform_util_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util_internal.h
diff --git a/chrome/browser/platform_util_internal.h b/chrome/browser/platform_util_internal.h
index 0b93b7dcddacfe74e6ce07729351ad10cdba45e0..90144c43049469a1cb0c9ed84cb3918b05f90c60 100644
--- a/chrome/browser/platform_util_internal.h
+++ b/chrome/browser/platform_util_internal.h
@@ -20,6 +20,12 @@ namespace internal {
// Always called on the blocking pool.
void PlatformOpenVerifiedItem(const base::FilePath& path, OpenItemType type);
+// Called by platform_util.cc on desktop platforms to invoke platform specific
+// logic to open the folder containing the item specified by |full_path| in the
+// desktop's default manner.
+void PlatformShowItemInFolder(Profile* profile,
+ const base::FilePath& full_path);
+
// Prevent shell or external applications from being invoked during testing.
void DisableShellOperationsForTesting();
« no previous file with comments | « chrome/browser/platform_util.cc ('k') | chrome/browser/platform_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698