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

Issue 1867533002: (TOBEDELETED)Select downloaded file in the folder. (Closed)

Created:
4 years, 8 months ago by maksims (do not use this acc)
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang, Nico, Evan Stade
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added checks: if nautilus is default directory browser and its version is >= 3.0.2, then open file with nautilus. Otherwise old method is used. Nautilus bug report: https://bugzilla.gnome.org/show_bug.cgi?id=632427 Nautilus fix: https://git.gnome.org/browse/nautilus/commit/?id=a96761350ad422ec084c12f649562f9a2a83963d Nautilus change log: http://ftp.gnome.org/pub/GNOME/sources/nautilus/3.0/nautilus-3.0.2.changes BUG=352988

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Total comments: 27

Patch Set 3 : Lel Zhang comments #

Total comments: 7

Patch Set 4 : minor fixes according to review #

Total comments: 10

Patch Set 5 : #

Total comments: 1

Patch Set 6 : whitespace trimming #

Total comments: 4

Patch Set 7 : review fixes #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -11 lines) Patch
M chrome/browser/platform_util.h View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/platform_util_linux.cc View 1 2 3 4 5 6 4 chunks +88 lines, -10 lines 3 comments Download

Messages

Total messages: 49 (14 generated)
maksims (do not use this acc)
please take a look
4 years, 8 months ago (2016-04-06 10:51:51 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867533002/1
4 years, 8 months ago (2016-04-07 04:55:35 UTC) #6
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-04-07 04:55:37 UTC) #8
maksims (do not use this acc)
please take a look
4 years, 8 months ago (2016-04-07 05:03:38 UTC) #10
Evan Stade
https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc File chrome/browser/platform_util.cc (left): https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc#oldcode31 chrome/browser/platform_util.cc:31: if (base::DirectoryExists(path) != (type == OPEN_FOLDER)) { why this ...
4 years, 8 months ago (2016-04-07 16:58:59 UTC) #11
maksims (do not use this acc)
On 2016/04/07 16:58:59, Evan Stade wrote: > https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc > File chrome/browser/platform_util.cc (left): > > https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc#oldcode31 ...
4 years, 8 months ago (2016-04-11 05:55:17 UTC) #12
Evan Stade
On 2016/04/11 05:55:17, maksims wrote: > On 2016/04/07 16:58:59, Evan Stade wrote: > > > ...
4 years, 8 months ago (2016-04-11 22:41:06 UTC) #13
maksims (do not use this acc)
please take a look https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc File chrome/browser/platform_util.cc (left): https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc#oldcode31 chrome/browser/platform_util.cc:31: if (base::DirectoryExists(path) != (type == ...
4 years, 8 months ago (2016-04-14 08:30:33 UTC) #15
Lei Zhang
https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc File chrome/browser/platform_util.cc (left): https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util.cc#oldcode31 chrome/browser/platform_util.cc:31: if (base::DirectoryExists(path) != (type == OPEN_FOLDER)) { On 2016/04/14 ...
4 years, 8 months ago (2016-04-15 01:39:24 UTC) #16
Lei Zhang
https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util_linux.cc#newcode91 chrome/browser/platform_util_linux.cc:91: if(output.find("nautilus") != std::string::npos) { And what happens if nautilus ...
4 years, 8 months ago (2016-04-15 08:23:13 UTC) #17
maksims (do not use this acc)
On 2016/04/15 08:23:13, Lei Zhang wrote: > https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util_linux.cc > File chrome/browser/platform_util_linux.cc (right): > > https://codereview.chromium.org/1867533002/diff/1/chrome/browser/platform_util_linux.cc#newcode91 ...
4 years, 8 months ago (2016-04-15 10:54:48 UTC) #18
maksims (do not use this acc)
Hope it's better now. Comments, suggestions, feedbacks are welcome!
4 years, 8 months ago (2016-04-19 09:26:28 UTC) #22
Lei Zhang
https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h File chrome/browser/platform_util.h (right): https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h#newcode40 chrome/browser/platform_util.h:40: enum OpenItemType { OPEN_FILE, OPEN_FOLDER, SHOW_ITEM_IN_FOLDER }; You may ...
4 years, 8 months ago (2016-04-19 21:51:25 UTC) #23
maksims (do not use this acc)
PTAL https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h File chrome/browser/platform_util.h (right): https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h#newcode40 chrome/browser/platform_util.h:40: enum OpenItemType { OPEN_FILE, OPEN_FOLDER, SHOW_ITEM_IN_FOLDER }; On ...
4 years, 8 months ago (2016-04-20 12:02:45 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867533002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867533002/80001
4 years, 8 months ago (2016-04-20 12:03:04 UTC) #27
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-04-20 12:03:06 UTC) #29
Lei Zhang
https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h File chrome/browser/platform_util.h (right): https://codereview.chromium.org/1867533002/diff/40001/chrome/browser/platform_util.h#newcode40 chrome/browser/platform_util.h:40: enum OpenItemType { OPEN_FILE, OPEN_FOLDER, SHOW_ITEM_IN_FOLDER }; On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 20:45:58 UTC) #30
maksims (do not use this acc)
PTAL
4 years, 8 months ago (2016-04-21 05:25:04 UTC) #31
Lei Zhang
BTW, have you looked into adding support to xdg-open? The equivalent on KDE with Dolphin ...
4 years, 8 months ago (2016-04-21 06:16:51 UTC) #32
maksims (do not use this acc)
ptal
4 years, 8 months ago (2016-04-21 07:04:27 UTC) #33
maksims (do not use this acc)
On 2016/04/21 06:16:51, Lei Zhang wrote: > BTW, have you looked into adding support to ...
4 years, 8 months ago (2016-04-21 07:07:47 UTC) #34
Lei Zhang
On 2016/04/21 07:07:47, maksims wrote: > On 2016/04/21 06:16:51, Lei Zhang wrote: > > BTW, ...
4 years, 8 months ago (2016-04-21 07:39:47 UTC) #36
maksims (do not use this acc)
On 2016/04/21 07:39:47, Lei Zhang wrote: > On 2016/04/21 07:07:47, maksims wrote: > > On ...
4 years, 8 months ago (2016-04-21 08:33:39 UTC) #37
maksims (do not use this acc)
ptal https://codereview.chromium.org/1867533002/diff/100001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/100001/chrome/browser/platform_util_linux.cc#newcode103 chrome/browser/platform_util_linux.cc:103: if (file_browser.find(kNautilusKey) != std::string::npos) { On 2016/04/21 06:16:51, ...
4 years, 8 months ago (2016-04-21 08:33:49 UTC) #38
Lei Zhang
https://codereview.chromium.org/1867533002/diff/100001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/100001/chrome/browser/platform_util_linux.cc#newcode103 chrome/browser/platform_util_linux.cc:103: if (file_browser.find(kNautilusKey) != std::string::npos) { On 2016/04/21 08:33:49, maksims ...
4 years, 8 months ago (2016-04-22 07:09:57 UTC) #39
maksims (do not use this acc)
ptal
4 years, 8 months ago (2016-04-22 08:26:19 UTC) #40
Lei Zhang
https://codereview.chromium.org/1867533002/diff/160001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/160001/chrome/browser/platform_util_linux.cc#newcode83 chrome/browser/platform_util_linux.cc:83: const std::size_t nautilus_position = output.find(kNautilusCmd); Just size_t, same for ...
4 years, 8 months ago (2016-04-22 23:23:56 UTC) #41
maksims (do not use this acc)
ptal
4 years, 8 months ago (2016-04-25 08:06:17 UTC) #42
Lei Zhang
https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc#newcode83 chrome/browser/platform_util_linux.cc:83: size_t nautilus_position = output.find(kNautilusCmd); Why not just search for ...
4 years, 8 months ago (2016-04-25 17:40:19 UTC) #43
maksims (do not use this acc)
https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc#newcode83 chrome/browser/platform_util_linux.cc:83: size_t nautilus_position = output.find(kNautilusCmd); On 2016/04/25 17:40:19, Lei Zhang ...
4 years, 8 months ago (2016-04-26 06:20:20 UTC) #44
Lei Zhang
https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc File chrome/browser/platform_util_linux.cc (right): https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc#newcode83 chrome/browser/platform_util_linux.cc:83: size_t nautilus_position = output.find(kNautilusCmd); On 2016/04/26 06:20:19, maksims wrote: ...
4 years, 8 months ago (2016-04-26 16:14:12 UTC) #45
maksims (do not use this acc)
On 2016/04/26 16:14:12, Lei Zhang wrote: > https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc > File chrome/browser/platform_util_linux.cc (right): > > https://codereview.chromium.org/1867533002/diff/180001/chrome/browser/platform_util_linux.cc#newcode83 ...
4 years, 7 months ago (2016-04-27 07:52:09 UTC) #46
Lei Zhang
On 2016/04/27 07:52:09, maksims wrote: > I am sorry, my OS got corrupter and I ...
4 years, 7 months ago (2016-04-27 19:15:23 UTC) #47
maksims (do not use this acc)
On 2016/04/27 19:15:23, Lei Zhang wrote: > On 2016/04/27 07:52:09, maksims wrote: > > I ...
4 years, 7 months ago (2016-04-28 04:39:39 UTC) #48
Lei Zhang
4 years, 7 months ago (2016-04-28 18:14:28 UTC) #49
On 2016/04/28 04:39:39, maksims wrote:
> On 2016/04/27 19:15:23, Lei Zhang wrote:
> > On 2016/04/27 07:52:09, maksims wrote:
> > > I am sorry, my OS got corrupter and I had to reinstall everything.
Couldn't
> > > upload to the same cl.
> > > Thus, please, comment on this one -
> > https://codereview.chromium.org/1929443002/
> > 
> > You can still reuse the same CL: git cl issue 1867533002
> 
> nope. git rev-parse error.

Ok, I don't understand what your error is, and I'm not going to worry about it.
I'll close this code review for you then.

Powered by Google App Engine
This is Rietveld 408576698