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

Issue 10984007: in-chrome viewer for metro (Closed)

Created:
8 years, 3 months ago by scottmg
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Listen in the browser for a connection from a metro viewer process. Render to the surface it provides to us. BUG=151718 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=159559

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : connects and sends, but errors with 109 'pipe has been ended' #

Patch Set 4 : . #

Patch Set 5 : create a swapchain so browser can hwnd slam #

Patch Set 6 : remove debug code #

Total comments: 16

Patch Set 7 : review fixes #

Total comments: 1

Patch Set 8 : remove namespace and weakptrfactory, add notes #

Patch Set 9 : only do viewer mode when shift-F11 is pressed, for now #

Total comments: 17

Patch Set 10 : rename + review fixes #

Patch Set 11 : sort order #

Patch Set 12 : add missing file #

Patch Set 13 : don't put wparam/lparam in common header #

Patch Set 14 : fix include #

Total comments: 9

Patch Set 15 : review fixes, move messages to ui/, nuke old viewer attempt #

Patch Set 16 : rename messages to have metro prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -549 lines) Patch
M chrome/browser/chrome_browser_main_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/metro_viewer/metro_viewer_process_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/metro_viewer/metro_viewer_process_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -0 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +1 line, -12 lines 0 comments Download
A + ui/metro_viewer/metro_viewer.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -10 lines 0 comments Download
A + ui/metro_viewer/metro_viewer_message_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
A + ui/metro_viewer/metro_viewer_message_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -6 lines 0 comments Download
A ui/metro_viewer/metro_viewer_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +22 lines, -0 lines 0 comments Download
M ui/surface/accelerated_surface_win.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M ui/surface/accelerated_surface_win.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
D ui/viewer/viewer.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -34 lines 0 comments Download
D ui/viewer/viewer_host_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -36 lines 0 comments Download
D ui/viewer/viewer_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -53 lines 0 comments Download
D ui/viewer/viewer_ipc_server.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -57 lines 0 comments Download
D ui/viewer/viewer_ipc_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -98 lines 0 comments Download
D ui/viewer/viewer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -34 lines 0 comments Download
D ui/viewer/viewer_message_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -7 lines 0 comments Download
D ui/viewer/viewer_message_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -33 lines 0 comments Download
D ui/viewer/viewer_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -26 lines 0 comments Download
D ui/viewer/viewer_process.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -69 lines 0 comments Download
D ui/viewer/viewer_process.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -67 lines 0 comments Download
M win8/delegate_execute/command_execute_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M win8/metro_driver/chrome_app_view.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M win8/metro_driver/chrome_app_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +53 lines, -2 lines 0 comments Download
A win8/metro_driver/direct3d_helper.h View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A win8/metro_driver/direct3d_helper.cc View 1 2 3 4 5 6 7 8 9 1 chunk +128 lines, -0 lines 0 comments Download
M win8/metro_driver/metro_driver.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/10983015
8 years, 3 months ago (2012-09-24 23:31:33 UTC) #1
jam
(drive by nits) https://codereview.chromium.org/10984007/diff/7002/chrome/browser/viewer/viewer_process_host.cc File chrome/browser/viewer/viewer_process_host.cc (right): https://codereview.chromium.org/10984007/diff/7002/chrome/browser/viewer/viewer_process_host.cc#newcode16 chrome/browser/viewer/viewer_process_host.cc:16: DVLOG(ERROR) << __FUNCTION__ << ", ViewerProcessHost"; ...
8 years, 2 months ago (2012-09-27 21:18:40 UTC) #2
scottmg
On 2012/09/27 21:18:40, John Abd-El-Malek wrote: > (drive by nits) Thanks, sorry I should have ...
8 years, 2 months ago (2012-09-27 21:30:46 UTC) #3
scottmg
Thanks John, changed to ChannelProxy so it can talk to AcceleratedSurface. https://chromiumcodereview.appspot.com/10984007/diff/7002/chrome/browser/viewer/viewer_process_host.cc File chrome/browser/viewer/viewer_process_host.cc (right): ...
8 years, 2 months ago (2012-09-28 04:50:45 UTC) #4
jam
https://codereview.chromium.org/10984007/diff/2013/chrome/browser/viewer/viewer_process_host.cc File chrome/browser/viewer/viewer_process_host.cc (right): https://codereview.chromium.org/10984007/diff/2013/chrome/browser/viewer/viewer_process_host.cc#newcode16 chrome/browser/viewer/viewer_process_host.cc:16: : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { nit: not needed now that you ...
8 years, 2 months ago (2012-09-28 17:07:54 UTC) #5
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/10984007/diff/4025/chrome/browser/chrome_browser_main_win.h File chrome/browser/chrome_browser_main_win.h (right): https://codereview.chromium.org/10984007/diff/4025/chrome/browser/chrome_browser_main_win.h#newcode72 chrome/browser/chrome_browser_main_win.h:72: removable_device_notifications_window_; have this member only #if defined aura ? ...
8 years, 2 months ago (2012-09-28 21:37:36 UTC) #6
scottmg
Thanks https://codereview.chromium.org/10984007/diff/4025/chrome/browser/chrome_browser_main_win.h File chrome/browser/chrome_browser_main_win.h (right): https://codereview.chromium.org/10984007/diff/4025/chrome/browser/chrome_browser_main_win.h#newcode72 chrome/browser/chrome_browser_main_win.h:72: removable_device_notifications_window_; On 2012/09/28 21:37:37, cpu wrote: > have ...
8 years, 2 months ago (2012-09-28 22:14:28 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm
8 years, 2 months ago (2012-09-28 22:40:45 UTC) #8
scottmg
+ben for OWNERS (and reviewing any bits you care about)
8 years, 2 months ago (2012-09-28 22:42:06 UTC) #9
Ben Goodger (Google)
https://chromiumcodereview.appspot.com/10984007/diff/19018/chrome/browser/metro_viewer/metro_viewer_process_host_win.cc File chrome/browser/metro_viewer/metro_viewer_process_host_win.cc (right): https://chromiumcodereview.appspot.com/10984007/diff/19018/chrome/browser/metro_viewer/metro_viewer_process_host_win.cc#newcode13 chrome/browser/metro_viewer/metro_viewer_process_host_win.cc:13: #if defined(USE_AURA) and we use gyp not to build ...
8 years, 2 months ago (2012-10-01 16:30:54 UTC) #10
scottmg
Thanks. I moved the message definitions to ui/ and deleted the old attempt at a ...
8 years, 2 months ago (2012-10-01 17:30:24 UTC) #11
Ben Goodger (Google)
8 years, 2 months ago (2012-10-01 21:08:52 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698