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

Issue 113190: Add support for alternate window station. (Closed)

Created:
11 years, 7 months ago by Nicolas Sylvain
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add support for alternate window station. TEST: Start chrome, make sure it loads pages, then user process explorer to make sure the WindowStation handle name is not the same as the browser process. BUG:10996 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16483

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 17

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 22

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 3

Patch Set 7 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+503 lines, -68 lines) Patch
M chrome/browser/browser_main.cc View 2 3 4 5 6 3 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/sandbox_policy.cc View 1 2 3 4 5 6 7 chunks +11 lines, -16 lines 0 comments Download
M chrome/common/chrome_switches.h View 6 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/chrome_switches.cc View 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_main_platform_delegate_win.cc View 2 chunks +36 lines, -3 lines 4 comments Download
M sandbox/sandbox.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/sandbox_poc/main_ui_window.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M sandbox/sandbox_poc/pocdll/spyware.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M sandbox/src/broker_services.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M sandbox/src/policy_target_test.cc View 1 2 3 4 5 6 5 chunks +82 lines, -6 lines 0 comments Download
M sandbox/src/sandbox.vcproj View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M sandbox/src/sandbox_policy.h View 1 2 3 4 5 6 2 chunks +17 lines, -3 lines 0 comments Download
M sandbox/src/sandbox_policy_base.h View 1 2 3 4 5 6 5 chunks +27 lines, -10 lines 0 comments Download
M sandbox/src/sandbox_policy_base.cc View 1 2 3 4 5 6 5 chunks +84 lines, -2 lines 0 comments Download
M sandbox/src/sandbox_types.h View 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M sandbox/src/target_process.h View 2 3 4 5 6 2 chunks +1 line, -3 lines 0 comments Download
M sandbox/src/target_process.cc View 1 2 3 4 5 6 4 chunks +2 lines, -8 lines 0 comments Download
A sandbox/src/window.h View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A sandbox/src/window.cc View 1 2 3 4 1 chunk +142 lines, -0 lines 0 comments Download
M sandbox/tests/validation_tests/suite.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Nicolas Sylvain
11 years, 7 months ago (2009-05-11 00:19:26 UTC) #1
Nicolas Sylvain
I'm going to make a change to move the HDESK/HWINSTA creation higher up, so it ...
11 years, 7 months ago (2009-05-11 14:22:06 UTC) #2
Nicolas Sylvain
I'm punting on this right now. I found a problem and it's forcing me to ...
11 years, 7 months ago (2009-05-11 14:44:27 UTC) #3
rvargas (doing something else)
Thanks for doing this. So far mostly nits. You are not calling DestroyAlternateDesktop(), are you? ...
11 years, 7 months ago (2009-05-11 19:52:46 UTC) #4
Nicolas Sylvain
On 2009/05/11 19:52:46, rvargas wrote: > Thanks for doing this. > > So far mostly ...
11 years, 7 months ago (2009-05-12 00:20:44 UTC) #5
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/113190/diff/2002/2018 File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/113190/diff/2002/2018#newcode565 Line 565: } When you reach this block, how many ...
11 years, 7 months ago (2009-05-12 18:02:08 UTC) #6
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/113190/diff/2002/2006 File sandbox/src/sandbox_policy_base.cc (right): http://codereview.chromium.org/113190/diff/2002/2006#newcode148 Line 148: // The desktop and winstation should have been ...
11 years, 7 months ago (2009-05-12 18:21:55 UTC) #7
rvargas (doing something else)
> > http://codereview.chromium.org/113190/diff/1008/1015#newcode92 > > Line 92: return false; > > I guess this is ...
11 years, 7 months ago (2009-05-12 21:25:35 UTC) #8
rvargas (doing something else)
http://codereview.chromium.org/113190/diff/2002/2006 File sandbox/src/sandbox_policy_base.cc (right): http://codereview.chromium.org/113190/diff/2002/2006#newcode176 Line 176: return SBOX_ERROR_CANNOT_CREATE_DESKTOP; nit: SBOX_ERROR_CANNOT_CREATE_WINSTATION? http://codereview.chromium.org/113190/diff/2002/2009 File sandbox/src/window.cc (right): ...
11 years, 7 months ago (2009-05-12 21:29:22 UTC) #9
Nicolas Sylvain
http://codereview.chromium.org/113190/diff/2002/2018 File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/113190/diff/2002/2018#newcode565 Line 565: } On 2009/05/12 18:02:08, cpu wrote: > When ...
11 years, 7 months ago (2009-05-14 00:15:28 UTC) #10
rvargas (doing something else)
LGTM with a few minor nits. http://codereview.chromium.org/113190/diff/1078/125 File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/113190/diff/1078/125#newcode282 Line 282: sandbox::BrokerServices* broker_services ...
11 years, 7 months ago (2009-05-14 21:34:52 UTC) #11
cpu_(ooo_6.6-7.5)
LGTM Thanks for doing this. On 2009/05/14 21:34:52, rvargas wrote: > LGTM with a few ...
11 years, 7 months ago (2009-05-15 22:44:45 UTC) #12
rvargas (doing something else)
OK http://codereview.chromium.org/113190/diff/160/180 File chrome/renderer/renderer_main_platform_delegate_win.cc (right): http://codereview.chromium.org/113190/diff/160/180#newcode31 Line 31: NOTREACHED(); nit: could add a log message ...
11 years, 7 months ago (2009-05-20 01:21:01 UTC) #13
cpu_(ooo_6.6-7.5)
11 years, 7 months ago (2009-05-20 01:51:22 UTC) #14
LGTM w/ nits:

http://codereview.chromium.org/113190/diff/160/180
File chrome/renderer/renderer_main_platform_delegate_win.cc (right):

http://codereview.chromium.org/113190/diff/160/180#newcode35
Line 35: // Create a windows on the WinSta0 to initialize theme support.
don't need the comment, see lines 16-20.

http://codereview.chromium.org/113190/diff/160/180#newcode49
Line 49: if (!CloseWindowStation(winsta0)) {
it seems the style here is :: for windows calls

Powered by Google App Engine
This is Rietveld 408576698