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

Issue 164280: First step to create application shortcuts on Linux. (Closed)

Created:
11 years, 4 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

First step to create application shortcuts on Linux. Create a working desktop shortcut. For now it displays no UI, but the backend works. TEST=none http://crbug.com/17251 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23226

Patch Set 1 #

Total comments: 16

Patch Set 2 : fixes #

Total comments: 1

Patch Set 3 : now tested #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -8 lines) Patch
M chrome/browser/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/standard_menus.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/shell_integration.h View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/shell_integration_linux.cc View 1 2 3 chunks +135 lines, -1 line 5 comments Download
A chrome/browser/shell_integration_unittest.cc View 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 3 chunks +6 lines, -0 lines 1 comment Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Paweł Hajdan Jr.
11 years, 4 months ago (2009-08-10 21:50:22 UTC) #1
Aaron Boodman
I don't think I'm the right person to review this.
11 years, 4 months ago (2009-08-11 00:23:13 UTC) #2
Paweł Hajdan Jr.
-aa, +agl then
11 years, 4 months ago (2009-08-11 00:24:57 UTC) #3
Paweł Hajdan Jr.
ping!
11 years, 4 months ago (2009-08-11 21:10:17 UTC) #4
tony
http://codereview.chromium.org/164280/diff/1/2 File chrome/browser/browser.cc (right): http://codereview.chromium.org/164280/diff/1/2#newcode1117 Line 1117: #if defined(OS_WIN) || defined(OS_LINUX) Can you add a ...
11 years, 4 months ago (2009-08-11 23:53:14 UTC) #5
Paweł Hajdan Jr.
I think I fixed the problems, but please review carefully. http://codereview.chromium.org/164280/diff/1/2 File chrome/browser/browser.cc (right): http://codereview.chromium.org/164280/diff/1/2#newcode1117 ...
11 years, 4 months ago (2009-08-12 16:06:07 UTC) #6
tony
LGTM, but please write some unittests before checking in. http://codereview.chromium.org/164280/diff/15/20 File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/164280/diff/15/20#newcode84 Line ...
11 years, 4 months ago (2009-08-12 17:11:52 UTC) #7
Paweł Hajdan Jr.
I added the tests. Had fun. Could you take a look?
11 years, 4 months ago (2009-08-12 20:29:27 UTC) #8
tony
Thanks for the tests, LGTM!
11 years, 4 months ago (2009-08-12 20:41:38 UTC) #9
Evan Martin
This looks good to me. CC'ing the XDG masters in case they have comments on ...
11 years, 4 months ago (2009-08-14 18:29:22 UTC) #10
Lei Zhang
http://codereview.chromium.org/164280/diff/28/1011 File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/164280/diff/28/1011#newcode50 Line 50: const char* xdg_data_home = getenv("XDG_DATA_HOME"); This will not ...
11 years, 4 months ago (2009-08-14 20:18:33 UTC) #11
Lei Zhang
On 2009/08/14 20:18:33, Lei Zhang wrote: > Applnk is a legacy directory, but we seem ...
11 years, 4 months ago (2009-08-14 20:29:08 UTC) #12
Mike Mammarella
http://codereview.chromium.org/164280/diff/28/1011 File chrome/browser/shell_integration_linux.cc (right): http://codereview.chromium.org/164280/diff/28/1011#newcode65 Line 65: FilePath path = FilePath(*i).Append(template_filename); On 2009/08/14 20:18:33, Lei ...
11 years, 4 months ago (2009-08-14 20:56:22 UTC) #13
Evan Martin
11 years, 4 months ago (2009-08-18 14:43:08 UTC) #14
http://codereview.chromium.org/164280/diff/28/1011
File chrome/browser/shell_integration_linux.cc (right):

http://codereview.chromium.org/164280/diff/28/1011#newcode208
Line 208: url.spec().c_str()));
Does this make us vulnerable to some sort of command line escaping attack?  What
if url.spec() includes quotes?

Powered by Google App Engine
This is Rietveld 408576698