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

Issue 276973002: Adds getter for ContextFactory to content (Closed)

Created:
6 years, 7 months ago by sky
Modified:
6 years, 7 months ago
Reviewers:
danakj, piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Visibility:
Public.

Description

Adds getter for ContextFactory to content Chrome (and others) need this so they can supply the ContextFactory to the Compositor and get rid of Compositor::GetInstance. BUG=none TEST=none R=piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269447

Patch Set 1 #

Total comments: 6

Patch Set 2 : Get #

Patch Set 3 : include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -9 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/compositor/image_transport_factory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/compositor/image_transport_factory.cc View 1 3 chunks +8 lines, -7 lines 0 comments Download
M content/browser/compositor/no_transport_image_transport_factory.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/compositor/no_transport_image_transport_factory.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
A content/browser/context_factory.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 3 chunks +4 lines, -0 lines 0 comments Download
A content/public/browser/context_factory.h View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sky
6 years, 7 months ago (2014-05-09 17:20:49 UTC) #1
danakj
https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h File content/browser/compositor/gpu_process_transport_factory.h (right): https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h#newcode52 content/browser/compositor/gpu_process_transport_factory.h:52: virtual ui::ContextFactory* AsContextFactory() OVERRIDE; Can you just upcast this ...
6 years, 7 months ago (2014-05-09 17:22:41 UTC) #2
danakj
https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h File content/browser/compositor/gpu_process_transport_factory.h (right): https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h#newcode52 content/browser/compositor/gpu_process_transport_factory.h:52: virtual ui::ContextFactory* AsContextFactory() OVERRIDE; On 2014/05/09 17:22:42, danakj wrote: ...
6 years, 7 months ago (2014-05-09 17:23:25 UTC) #3
sky
On 2014/05/09 17:23:25, danakj wrote: > https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h > File content/browser/compositor/gpu_process_transport_factory.h (right): > > https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/gpu_process_transport_factory.h#newcode52 > ...
6 years, 7 months ago (2014-05-09 17:24:40 UTC) #4
danakj
Yeh, I was glad to see it go is all. I guess the other option ...
6 years, 7 months ago (2014-05-09 17:36:53 UTC) #5
sky
It would seem that BrowserMainLoop should really own ImageTransportFactory. That could be done later on ...
6 years, 7 months ago (2014-05-09 17:48:20 UTC) #6
piman
lgtm https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/image_transport_factory.h File content/browser/compositor/image_transport_factory.h (right): https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/image_transport_factory.h#newcode68 content/browser/compositor/image_transport_factory.h:68: virtual ui::ContextFactory* AsContextFactory() = 0; nit: GetContextFactory? The ...
6 years, 7 months ago (2014-05-09 17:52:40 UTC) #7
sky
https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/image_transport_factory.h File content/browser/compositor/image_transport_factory.h (right): https://codereview.chromium.org/276973002/diff/1/content/browser/compositor/image_transport_factory.h#newcode68 content/browser/compositor/image_transport_factory.h:68: virtual ui::ContextFactory* AsContextFactory() = 0; On 2014/05/09 17:52:40, piman ...
6 years, 7 months ago (2014-05-09 18:04:52 UTC) #8
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-09 18:04:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/276973002/20001
6 years, 7 months ago (2014-05-09 18:05:36 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 21:46:12 UTC) #11
sky
6 years, 7 months ago (2014-05-09 22:50:37 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 manually as r269447 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698