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

Issue 7701015: Making BrowserNavigator open file browser singleton tab respecting URLs ref value (Closed)

Created:
9 years, 4 months ago by tbarzic
Modified:
9 years, 4 months ago
Reviewers:
SeRya, Greg Billock
CC:
chromium-reviews, Aaron Boodman, rginda+watch_chromium.org, achuith+watch_chromium.org, Erik does not do reviews, mihaip+watch_chromium.org
Visibility:
Public.

Description

Making BrowserNavigator open file browser singleton tab respecting URLs ref value BUG=chromium-os:19260, chromium-os:15718 TEST= Manual on Cr48: * Inserting, then removing and inserting removable device again. After both insertions, filebrowser tab pointing to device contents should be shown. * Clicking ctrl+M with a file browser tab opened (the tab should not point to the root dir). New file browser tab pointing to the root dir should be opened. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98127

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adding browsertest #

Patch Set 3 : adding new bug to desc #

Total comments: 1

Patch Set 4 : "Changing comments in browsertest" #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -4 lines) Patch
M chrome/browser/extensions/file_manager_util.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +8 lines, -1 line 1 comment Download
M chrome/browser/ui/browser_navigator.h View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tbarzic
9 years, 4 months ago (2011-08-23 23:03:26 UTC) #1
Greg Billock
So this will make different directories show up in different tabs? Is that the desired ...
9 years, 4 months ago (2011-08-23 23:38:48 UTC) #2
tbarzic
This only affects cases when we open new file browser tab (opening new tab when ...
9 years, 4 months ago (2011-08-24 00:02:58 UTC) #3
tbarzic
9 years, 4 months ago (2011-08-24 02:38:26 UTC) #4
Greg Billock
LGTM http://codereview.chromium.org/7701015/diff/6001/chrome/browser/ui/browser_navigator_browsertest.cc File chrome/browser/ui/browser_navigator_browsertest.cc (right): http://codereview.chromium.org/7701015/diff/6001/chrome/browser/ui/browser_navigator_browsertest.cc#newcode179 chrome/browser/ui/browser_navigator_browsertest.cc:179: // Navigate to singleton_url1. singleton_ref_url2 (do you want ...
9 years, 4 months ago (2011-08-24 21:52:20 UTC) #5
SeRya
9 years, 4 months ago (2011-08-25 09:19:51 UTC) #6
http://codereview.chromium.org/7701015/diff/12001/chrome/browser/ui/browser.cc
File chrome/browser/ui/browser.cc (right):

http://codereview.chromium.org/7701015/diff/12001/chrome/browser/ui/browser.c...
chrome/browser/ui/browser.cc:2120: std::string(chrome::kChromeUIFileManagerURL)
+ "#/"));
This change forces file manager to open up in the root directory. Default
behavior (triggered by empty hash) is navigating to to 'Downloads' folder if no
external storage attached.

Powered by Google App Engine
This is Rietveld 408576698