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

Issue 1994007: Change to a simpler upgrade scheme for Chrome Frame whereby we register a win... (Closed)

Created:
10 years, 7 months ago by robertshield
Modified:
9 years, 6 months ago
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Change to a simpler upgrade scheme for Chrome Frame whereby we register a window class in DllMain on attach and tag it with our module handle, then unregister said window class on detach. BUG=43343 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46738

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 16

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -405 lines) Patch
M chrome_frame/chrome_frame.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome_frame/chrome_tab.cc View 1 2 3 3 chunks +23 lines, -17 lines 0 comments Download
M chrome_frame/module_utils.h View 1 2 3 1 chunk +16 lines, -56 lines 0 comments Download
M chrome_frame/module_utils.cc View 1 2 3 4 1 chunk +51 lines, -135 lines 0 comments Download
D chrome_frame/test/module_utils_unittest.cc View 1 chunk +0 lines, -196 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
robertshield
Here is the implementation of what we decided on doing. I have a todo to ...
10 years, 7 months ago (2010-05-07 20:29:12 UTC) #1
tommi (sloooow) - chröme
http://codereview.chromium.org/1994007/diff/3002/11002 File chrome_frame/chrome_tab.cc (right): http://codereview.chromium.org/1994007/diff/3002/11002#newcode178 chrome_frame/chrome_tab.cc:178: HMODULE original_module = DllRedirector::GetHModuleFromWndclass(); should we dcheck that this ...
10 years, 7 months ago (2010-05-07 20:43:06 UTC) #2
tommi (sloooow) - chröme
lgtm. (my comments are mostly nits, so feel free to submit if you agree or ...
10 years, 7 months ago (2010-05-07 20:44:21 UTC) #3
Sigurður Ásgeirsson
http://codereview.chromium.org/1994007/diff/3002/11003 File chrome_frame/module_utils.cc (right): http://codereview.chromium.org/1994007/diff/3002/11003#newcode10 chrome_frame/module_utils.cc:10: const wchar_t kBeaconWindowClassName[] = L"ChromeFrameBeaconWindowClass"; I'm sure this is ...
10 years, 7 months ago (2010-05-07 20:44:22 UTC) #4
robertshield
Thanks, please take another look. http://codereview.chromium.org/1994007/diff/3002/11002 File chrome_frame/chrome_tab.cc (right): http://codereview.chromium.org/1994007/diff/3002/11002#newcode178 chrome_frame/chrome_tab.cc:178: HMODULE original_module = DllRedirector::GetHModuleFromWndclass(); ...
10 years, 7 months ago (2010-05-07 21:03:37 UTC) #5
Sigurður Ásgeirsson
Did you forget to upload? On Fri, May 7, 2010 at 5:03 PM, <robertshield@chromium.org> wrote: ...
10 years, 7 months ago (2010-05-07 21:07:17 UTC) #6
robertshield
On 2010/05/07 21:07:17, Ruðrugis wrote: > Did you forget to upload? > > On Fri, ...
10 years, 7 months ago (2010-05-07 21:09:27 UTC) #7
Sigurður Ásgeirsson
lgtm
10 years, 7 months ago (2010-05-07 21:11:08 UTC) #8
tommi (sloooow) - chröme
lgtm http://codereview.chromium.org/1994007/diff/8002/19003 File chrome_frame/module_utils.cc (right): http://codereview.chromium.org/1994007/diff/8002/19003#newcode45 chrome_frame/module_utils.cc:45: DCHECK(IsWindow(hwnd)); uhm, do this check before the if? ...
10 years, 7 months ago (2010-05-07 21:30:31 UTC) #9
robertshield
http://codereview.chromium.org/1994007/diff/8002/19003 File chrome_frame/module_utils.cc (right): http://codereview.chromium.org/1994007/diff/8002/19003#newcode45 chrome_frame/module_utils.cc:45: DCHECK(IsWindow(hwnd)); On 2010/05/07 21:30:31, tommi wrote: > uhm, do ...
10 years, 7 months ago (2010-05-07 21:31:19 UTC) #10
stoyan
10 years, 7 months ago (2010-05-07 21:35:22 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698