0
Commit Graph

6 Commits

Author SHA1 Message Date
Avi Drissman
4e1b7bc33d Update copyright headers in content/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c34.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I8c0f009d16350271f07d8e5e561085822cc9dd27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3895935
Owners-Override: Avi Drissman <avi@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047456}
2022-09-15 14:03:50 +00:00
Hans Wennborg
0917de897c Remove/replace unnecessary logging.h includes in .cc files (content)
CHECK, CHECK_EQ etc., and NOTREACHED/NOTIMPLEMENTED have moved
to the much smaller headers check.h, check_op.h, and notreached.h,
respectively.

This CL updates .cc files to use those headers instead when
possible, with the purpose of saving compile time.

(Split out from https://crrev.com/c/2164525 which also has
notes on how the change was generated.)

Bug: 1031540
Change-Id: I643818242b92e19a1048fac89dd8aae323e8b1ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164510
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#763511}
2020-04-28 20:21:15 +00:00
Sean Gilhuly
dc0b9fd96d Merge ui::ContextFactoryPrivate with ui::ContextFactory
All ContextFactoryPrivate implementations are also ContextFactory
implementations. Move the two remaining ContextFactoryPrivate functions
into ContextFactory and clean up usage.

Bug: 1042259
Change-Id: I48063717cd6e51ccfc94e0a160d50d95d7629388
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047728
Commit-Queue: Sean Gilhuly <sgilhuly@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744444}
2020-02-25 23:47:14 +00:00
kylechar
801c940a54 Change how ImageTransportFactory is set.
Implementing an --enable-viz flag will require an ImageTransportFactory
that isn't GpuProcessTransportFactory. There is already a function to
set an arbitrary test factory.

Add ImageTransportFactory::SetFactory() and just use that everywhere
instead. Move the test only code into the test factory. Have
BrowserMainLoop pass in GpuProcessTransportFactory and tests pass in
NoTransportImageTransportFactory.

Also cleanup forward declerations and includes on ImageTransportFactory.

Bug: 770833
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: I15c4d128fa8840c06d04f336dde2d0d075a00380
Reviewed-on: https://chromium-review.googlesource.com/716696
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508440}
2017-10-12 20:22:25 +00:00
fsamuel
a0bcfe1819 ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate
ui::ContextFactory is an interface that contains both privileged and
unprivileged operations. This CL dices ContextFactory into two, clearly
delineating operations that can be performed by Mus clients, and operations that
are reserved for mus-ws and mus-gpu and should be refactored.

Mus clients other than Chrome do not need to inject a
ContextFactoryPrivate into ui::Compositor. Chrome still needs
ContextFactoryPrivate because it has its own display compositor for
now.

Once we complete the unified display compositor work across all Chrome
clients, ContextFactoryPrivate can go away entirely.

BUG=670710
TBR=reveman@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2563783002
Cr-Commit-Position: refs/heads/master@{#438447}
2016-12-14 06:24:45 +00:00
sky@chromium.org
198beb13de 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

Review URL: https://codereview.chromium.org/276973002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269447 0039d316-1c4b-4281-b951-d872f2087c98
2014-05-09 22:50:33 +00:00