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

Issue 13849005: Cleanup of the metro viewer code (Closed)

Created:
7 years, 8 months ago by cpu_(ooo_6.6-7.5)
Modified:
7 years, 8 months ago
Reviewers:
robertshield, robert
CC:
chromium-reviews
Visibility:
Public.

Description

Cleanup of the metro viewer code The main thing is the discovery of a clean way to retrieve the corewindow hwnd based on ICoreWindowInterop, that removes some iffy heuristic based on window name before. From that we realize that we don't need some globals, namely the window handle the thread id that owns the window. BUG=151718 TEST=ash still works. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193120

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -24 lines) Patch
M win8/metro_driver/chrome_app_view_ash.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 10 chunks +24 lines, -24 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
cpu_(ooo_6.6-7.5)
.
7 years, 8 months ago (2013-04-09 00:16:21 UTC) #1
robertshield
Awesome, lgtm. As usual with your patches, reading it took a few minutes then thirty ...
7 years, 8 months ago (2013-04-09 02:34:40 UTC) #2
cpu_(ooo_6.6-7.5)
hehe I was afraid you were going to make me clean the 'legacy' path. I ...
7 years, 8 months ago (2013-04-09 02:39:54 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/13849005/diff/1/win8/metro_driver/chrome_app_view_ash.cc File win8/metro_driver/chrome_app_view_ash.cc (left): https://codereview.chromium.org/13849005/diff/1/win8/metro_driver/chrome_app_view_ash.cc#oldcode542 win8/metro_driver/chrome_app_view_ash.cc:542: winrt_utils::FindCoreWindow(globals.main_thread_id, 10); How did I miss this one? On ...
7 years, 8 months ago (2013-04-09 02:40:43 UTC) #4
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/13849005/diff/1/win8/metro_driver/chrome_app_view_ash.cc File win8/metro_driver/chrome_app_view_ash.cc (left): https://codereview.chromium.org/13849005/diff/1/win8/metro_driver/chrome_app_view_ash.cc#oldcode542 win8/metro_driver/chrome_app_view_ash.cc:542: winrt_utils::FindCoreWindow(globals.main_thread_id, 10); Ah never mind. On 2013/04/09 02:40:43, cpu ...
7 years, 8 months ago (2013-04-09 02:41:38 UTC) #5
robertshield
On 2013/04/09 02:39:54, cpu wrote: > hehe I was afraid you were going to make ...
7 years, 8 months ago (2013-04-09 02:52:30 UTC) #6
cpu_(ooo_6.6-7.5)
Committed patchset #2 manually as r193120 (presubmit successful).
7 years, 8 months ago (2013-04-09 17:02:53 UTC) #7
cpu_(ooo_6.6-7.5)
7 years, 8 months ago (2013-04-09 17:04:01 UTC) #8
Message was sent while issue was closed.
Ok, I'll let you do it. It is really mostly not being setup.

I'll do the code review :)

Powered by Google App Engine
This is Rietveld 408576698