| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/145133020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(This parallels pylib/parse.) Keep the language-specific generators
themselves in generators/.
Note that running
mojom_bindings_generator.py -g generators/cpp_generator.py foo.mojom
now works.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/147423003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247041 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This undoes r230890 (which was an incorrect "completion" of another
revert), and updates mojom_data.py and mojom_data_tests.py to work
properly again.
(This does NOT add tests for the newer things.)
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/137203015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247001 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TODO: defaults values for structs
BUG=320082
Review URL: https://codereview.chromium.org/141893004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246994 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Still to do: Stuff in the generators directory, which will be split in a
different (and more complicated) way.
Originally landed: r246807
Reverted: r246816 (due to lack of android webview whitelist update)
R=darin@chromium.org
TBR=boliu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=
Review URL: https://codereview.chromium.org/146163002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246920 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/142793005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246849 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Causing check_licenses failure on "Android Builder (dbg)"
http://build.chromium.org/p/chromium.linux/builders/Android%20Builder%20%28dbg%29/builds/50978
> Mojo: Move a bunch of bindings "library" stuff to pylib subdirectory.
>
> Still to do: Stuff in the generators directory, which will be split in a
> different (and more complicated) way.
>
> R=davemoore@chromium.org
>
> Review URL: https://codereview.chromium.org/146163002
TBR=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/146603003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246816 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Still to do: Stuff in the generators directory, which will be split in a
different (and more complicated) way.
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/146163002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246807 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notes:
- Currently --generators=.../generators/mojom_cpp_generator.py won't
work; the python module path won't be right for it to just do "import
mojom" (etc.). Instead, an explicitly-specified generator would have
to do something like "from generators import mojom".
- @UseJinja's path_to_template argument is now relative to the directory
containing the *caller's* file (i.e., the generator's file), not the
directory containing template_expander.py.
Still to do:
- Factory out the generator "library" files to a separate directory,
away from specific (e.g., C++) generators. (Maybe move all the
libraries into a pylib/ directory, and add that directory to the
module path.)
- Make it so that --generators=.../mojom_cpp_generator.py works as
expected.
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/140523003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Expose an API that looks a bit like EGL to create/destroy contexts/make them
current etc. This allows libmojo_gles2 to properly hide the GLES2
implementation. A follow up wil replace it by a proper CommandBuffer interface, etc.
Some caveats:
- we need a BindingsSupport in libmojo_gles2 because it's a component. We need
to integrate with the embedder's run loop because we need to asynchronously wait
on handles, so we pass in the embedder's BindingsSupport. We should probably
pass an abstraction over the embedder's run loop, and have an implementation of
BindingsSupport on top of that (note, currently on Android libmojo_gles2 is
statically linked into the client, so we can't have 2 different
BindingsSupport).
- creating a context is currently asynchronous, and that's awkward.
- we have to expose the chrome types (GLES2Implementation/ContextSupport) for
the compositor app. That's awkward too.
- some things like RequestAnimationFrames don't belong there at all.
- libmojo_gles2 is a C API so we can't really have type safety, and some things
like callbacks are a PITA.
BUG=333157
Review URL: https://codereview.chromium.org/132913004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246516 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This follows the mojo_system pattern, separating mojo_gles2 into a client-side
shared library which is just a trampoline into a shell-provided mojo_gles2_impl
component.
This includes core GLES2 functions which are auto-generated, replacing the use
of gles2_c_lib.
BUG=333157
R=darin@chromium.org, kbr@chromium.org
Review URL: https://codereview.chromium.org/140513003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246434 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TODO: default values for arrays and structs.
BUG=320082
Review URL: https://codereview.chromium.org/138143003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246424 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
And generate files from a loop. Next step: Add a command-line option to
specify which generators to use and load them dynamically.
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/129873014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246354 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
optparse is officially deprecated as of python 2.7 (the version we use,
and the final version of python 2.x. (argparse was introduced in 2.7.)
I'm pretty sure writing argument parsers is a favorite pasttime of
python weenies.
On the bright side, argparse does more for you with less code (on your
part).
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/141003009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246189 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=davemoore@chromium.org
Review URL: https://codereview.chromium.org/136363004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246183 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was lost in the transition to jinja.
(Actually, this also adds the ability to use "no" include path -- i.e.,
"foo.h" instead of "./foo.h".)
R=darin@chromium.org, mpcomplete@chromium.org
Review URL: https://codereview.chromium.org/140903007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246050 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also fix some problems in our C declarations/defines.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/136793027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245668 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
I should also write "end-to-end" data pipe tests ... but that will be a
nontrivial project.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/130633005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245647 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=sky@chromium.org
Review URL: https://codereview.chromium.org/141973003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245607 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't hook up Init()/Shutdown() to our test harnesses yet, because
things blow up (we currently have singletons that will hold handles
across tests).
R=sky@chromium.org
Review URL: https://codereview.chromium.org/136793026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245605 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
For foolish consistency. I'll never make this mistake again.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/140503005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245573 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
In accordance with popular opinion.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/133453003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Speculative. This may have caused flakiness on multiple bots. See bug 335582.
> Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate -- V2
>
> [2/2] Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate
>
> They basically do the same thing except that SetNeedsAnimate makes the next
> commit non-cancellable. However there is really no reason why SetNeedsAnimate
> need to enforce a commit even if no tiles are updated and no layer properties
> changed.
>
> SetNeedsAnimate is thus merged into SetNeedsUpdateLayers. The proper use of
> it is when there are potential layout/tile changes, we can use it to defer
> calculation until the next frame. A commit will be scheduled but can be
> cancelled if no updates are needed after calculation.
>
> This part of the patch changes code behavior slightly.
> SingleThreadProxy::SetNeedsUpdateLayers was originally implemented as
> RenderWidget::ScheduleComposite but now it is RenderWidget::ScheduleAnimation.
> ThreadProxy::SetNeedsAnimate was non-cancellable but is now cancellable.
>
> [1/2] Cleanup RenderWidget::scheduleComposite/scheduleAnimation
>
> scheduleComposite has been renamed to ScheduleComposite as it is no longer
> a part of WebWidgetClient API.
>
> scheduleAnimation has been renamed to ScheduleAnimation. The semantics is to
> schedule a composite and also (potentially) animating WebWidget.
>
> A new WebWidgetClient API scheduleUpdate has been added, to replace the old
> scheduleAnimation. The semantics is to notify the embedder that something in
> the WebWidget may change in 0 seconds. (i.e. it is allowed to be called
> during a redraw, in such case another redraw will be scheduled after frame
> delay.
>
> This part of the patch should not change code behavior.
>
> BUG=316929
> R=danakj,jamesr,jochen
>
> Review URL: https://codereview.chromium.org/133263004
TBR=trchen@chromium.org
BUG=335582
Review URL: https://codereview.chromium.org/141833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245528 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not necessary to explicitly make the GrContext current.
The underlying GL context is automatically made current via a
callback setup by all implementations of cc::ContextProvider.
Ganesh calls this callback before issuing any GL command, which
ensures the the appropriate GL context is current.
BUG=334886
Review URL: https://codereview.chromium.org/135753006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[2/2] Unifies LayerTreeHost::SetNeedsUpdateLayers and SetNeedsAnimate
They basically do the same thing except that SetNeedsAnimate makes the next
commit non-cancellable. However there is really no reason why SetNeedsAnimate
need to enforce a commit even if no tiles are updated and no layer properties
changed.
SetNeedsAnimate is thus merged into SetNeedsUpdateLayers. The proper use of
it is when there are potential layout/tile changes, we can use it to defer
calculation until the next frame. A commit will be scheduled but can be
cancelled if no updates are needed after calculation.
This part of the patch changes code behavior slightly.
SingleThreadProxy::SetNeedsUpdateLayers was originally implemented as
RenderWidget::ScheduleComposite but now it is RenderWidget::ScheduleAnimation.
ThreadProxy::SetNeedsAnimate was non-cancellable but is now cancellable.
[1/2] Cleanup RenderWidget::scheduleComposite/scheduleAnimation
scheduleComposite has been renamed to ScheduleComposite as it is no longer
a part of WebWidgetClient API.
scheduleAnimation has been renamed to ScheduleAnimation. The semantics is to
schedule a composite and also (potentially) animating WebWidget.
A new WebWidgetClient API scheduleUpdate has been added, to replace the old
scheduleAnimation. The semantics is to notify the embedder that something in
the WebWidget may change in 0 seconds. (i.e. it is allowed to be called
during a redraw, in such case another redraw will be scheduled after frame
delay.
This part of the patch should not change code behavior.
BUG=316929
R=danakj,jamesr,jochen
Review URL: https://codereview.chromium.org/133263004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245445 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This allows tools that use filename heuristics to detect tests
(like scythe)
BUG=335193
Review URL: https://codereview.chromium.org/138433004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, tighten up DEPS: things outside mojo/system/ shouldn't include
things in mojo/system/, unless they're an embedder in which case they
can include things in mojo/system/embedder/.
R=sky@chromium.org
Review URL: https://codereview.chromium.org/136473007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245381 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(More changes to come -- in particular to reduce exports from
mojo_system_impl -- but one thing at a time....)
R=sky@chromium.org
Review URL: https://codereview.chromium.org/139823003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245339 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
These things are exposed through the embedder API (and/or to be used by
the embedder).
R=sky@chromium.org
Review URL: https://codereview.chromium.org/137063010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That is, starting with an OS "channel" (e.g., socket), you can tell the
system to set up to send messages over it. It'll provide an initial
"bootstrap" message pipe, from which you'll eventually be able to bring
up more message pipes multiplexed on that channel (once you can pass
handles in messages over the channel).
Also:
- Make a base class for tests that need an IO thread.
- Add a way for test embedders to shut down the global instance.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/140403002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245251 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=sky@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/140103004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245040 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
I combined the 2 separate ones when I switched the C++ generator to jinja, but
it turns out they don't actually share much code. The code they do share, I
moved to the parent class.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/137643002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245030 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Still left: base/test/perf_log.h, which will probably require support
from the embedder somehow.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/132873004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The compositor uses GLES2Interface to talk to the OpenGL context now, so
the WebGraphicsContext3D getter isn't applicable at this layer.
BUG=181120
Review URL: https://codereview.chromium.org/132163004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245026 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make mojo_sample_app correctly depend on the standalone environment since it uses it
- make mojo depend on mojo_compositor_app so we build that one too
BUG=
R=darin@chromium.org
Review URL: https://codereview.chromium.org/138323003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mojo/public/tests/ shouldn't depend on stuff outside of public/.
(Still left to do: a couple dependencies in test_support.cc.)
R=darin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244966
Review URL: https://codereview.chromium.org/139843002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244977 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failed to build: http://build.chromium.org/p/chromium/builders/Linux/builds/46631
> Mojo: Remove some base/ dependencies from mojo/public/tests/.
>
> mojo/public/tests/ shouldn't depend on stuff outside of public/.
>
> (Still left to do: a couple dependencies in test_support.cc.)
>
> R=darin@chromium.org
>
> Review URL: https://codereview.chromium.org/139843002
TBR=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/136033006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244971 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
mojo/public/tests/ shouldn't depend on stuff outside of public/.
(Still left to do: a couple dependencies in test_support.cc.)
R=darin@chromium.org
Review URL: https://codereview.chromium.org/139843002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244966 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, document the two-phase APIs and make sure that they
correctly check that the sizes are multiples of the element size.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/136793010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244904 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're going to need handles to things other than "channels", so rename
PlatformChannelHandle to PlatformHandle.
Rename/refactor PlatformChannel to ScopedPlatformHandle (because that's
what it really was), and make it move-only.
Adapt everything else to fit this model.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/137273003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244742 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of changes:
o BindingsSupport is gone:
- mojo/public/bindings/lib depends on mojo/public/environment/,
which is also a static library.
- mojo/public/environment provides a default implementation of
MojoAsyncWaiter (replacing the AsyncWait functionality of
BindingsSupport).
- mojo/public/environment provides TLS support for storing the
current Buffer* (replacing the Set/GetCurrentBuffer functionality
of BindingsSupport).
- mojo/public/environment provides the Environment class, formerly
part of mojo/public/utility/
- The standalone implementation of mojo/public/environment/ depends
on mojo/public/utility/ and assumes clients will be instantiating
RunLoops on their threads.
- The chromium-specific implementation of mojo/public/environment/
depends on mojo/common/ and assumes clients will be instantiating
MessageLoops on their threads.
- The chromium-specific implementation of mojo/public/environment/
is divided into two targets: mojo_environment_chromium and
mojo_environment_chromium_impl. The former is a static library and
the latter is a component. (This way all of the state--TLS keys--
associated with the environment is kept in a DSO when using a
component build.)
o RemotePtr and Connector may optionally be parameterized with a
MojoAsyncWaiter*, allowing users to customize how AsyncWait is
implemented for a particular usage of bindings. This is needed by
the GL library so that it can schedule work on an application
defined run loop.
o RunLoop gains a RunUntilIdle method to support tests. This allows us
to delete SimpleBindingsSupport instead of converting it over to an
implementation of MojoAsyncWaiter.
Review URL: https://codereview.chromium.org/134253004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Two things:
. If MOJO_SHELL_DEBUG is set the downloaded dll is saved to the file
name link-me. This makes it easy to create a link in the appropriate
directory before hand so you don't have to continually adjust the
path.
. If MOJO_SHELL_DEBUG_URL is set then the url supplied is ignored and
the code sleeps for 5 seconds. This makes it easy to attach via gdb
and continue on.
BUG=none
TEST=none
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/135233002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244702 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Move sample service test to be with the rest of the bindings tests, and change it to not echo output by default.
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/134823005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244437 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are generally needed by aura and other parts of the code.
BUG=none
TEST=none
R=ben@chromium.org
Review URL: https://codereview.chromium.org/134523004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244336 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Actually, just move mojo::system::CoreImpl::Init() to
mojo::embedder::Init(), in its own header file.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/135073002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244284 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
First time broke the build with a non-ASCII character in a comment.
BUG=320090
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/131833004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244250 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Add support for using expressions as enum values.
>
> BUG=320090
> R=darin@chromium.org
>
> Review URL: https://codereview.chromium.org/130443003
Broke the android build: http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Builder%20%28dbg%29&number=50248
TBR=mpcomplete@google.com
Review URL: https://codereview.chromium.org/133843004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244237 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
(platform_channel_posix.cc gets moved to platform_channel_pair_posix.cc
entirely.)
R=darin@chromium.org
Review URL: https://codereview.chromium.org/133533007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244234 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=320090
R=darin@chromium.org
Review URL: https://codereview.chromium.org/130443003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244233 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove PlatformServerChannel/PlatformClientChannel.
- Add PlatformChannelPair (move stuff formerly in PlatformServerChannel
into this).
It became apparent that my previous plan to make this work on Windows
wasn't work nicely. On the one hand, on Vista+, we can basically make
things work like POSIX (created the channels in the parent and connect
them, and send a channel to a child). On the other, on XP, to be secure
you need to do more work (the channels aren't connected or authenticated
initially), so you'd need much more machinery (to wait for connection,
to authenticate, etc.).
So I'll go for a different mechanism to make things work on XP. The
assumption from the Mojo embedder API will be that it's given a channel
handle that's already been connected, authenticated, etc. (which will be
taken care of by other means). This will add flexibility in other ways
as well (e.g., make Mojo IPC more happily coexist with Chrome IPC -- you
should be able to pass a handle over Chrome IPC to set up Mojo IPC).
Still to do: Move PlatformChannelPair into its own files.
R=darin@chromium.org
Review URL: https://codereview.chromium.org/134373005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244223 0039d316-1c4b-4281-b951-d872f2087c98
|