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

Unified Diff: chrome/browser/extensions/file_manager_util.cc

Issue 7701015: Making BrowserNavigator open file browser singleton tab respecting URLs ref value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Changing comments in browsertest" Created 9 years, 4 months 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 | « no previous file | chrome/browser/ui/browser.h » ('j') | chrome/browser/ui/browser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/file_manager_util.cc
diff --git a/chrome/browser/extensions/file_manager_util.cc b/chrome/browser/extensions/file_manager_util.cc
index f8310f9ad38267118589f15110c1944acc944908..706bf0455c219ac6bde49b15d57c351d5a8fe96c 100644
--- a/chrome/browser/extensions/file_manager_util.cc
+++ b/chrome/browser/extensions/file_manager_util.cc
@@ -210,10 +210,10 @@ void FileManagerUtil::ShowFullTabUrl(Profile*,
}
std::string url = chrome::kChromeUIFileManagerURL;
- url += '#' + EscapeUrlEncodedData(virtual_path.value(), false);
+ url += "#/" + EscapeUrlEncodedData(virtual_path.value(), false);
UserMetrics::RecordAction(UserMetricsAction("ShowFileBrowserFullTab"));
- browser->ShowSingletonTab(GURL(url));
+ browser->ShowSingletonTabRespectRef(GURL(url));
}
void FileManagerUtil::ViewItem(const FilePath& full_path, bool enqueue) {
« no previous file with comments | « no previous file | chrome/browser/ui/browser.h » ('j') | chrome/browser/ui/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698