summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gyp
diff options
context:
space:
mode:
authorimcheng <imcheng@google.com>2015-03-18 12:43:19 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-18 19:44:17 +0000
commit271b9ef3cc86d5c038ff97b3a28ab437eeacbcc3 (patch)
tree85f69b40661ce6083d7b8fdb1d14304ccfdcea75 /content/content_common_mojo_bindings.gyp
parent8749e547dcb00f0000a303abd010a7de306efa7f (diff)
downloadchromium_src-271b9ef3cc86d5c038ff97b3a28ab437eeacbcc3.zip
chromium_src-271b9ef3cc86d5c038ff97b3a28ab437eeacbcc3.tar.gz
chromium_src-271b9ef3cc86d5c038ff97b3a28ab437eeacbcc3.tar.bz2
[Presentation API] Additional plumbing for PresentationServiceImpl.
Implemented PSImpl::OnScreenAvailabilityListenerRemoved() by hooking it up to PSDelegate. Added the following functions to the PSDelegate interface: (1) SetDefaultPresentationUrl (2) StartSession (3) JoinSession Implemented (1), (2), (3) in PSImpl. For (1), PSImpl contains logic to "transfer the callback" -- that is, if default presentation URL changes after a device availability listener was added, the listener will continue receiving device updates for the new default presentation URL. Note that because (2) and (3) takes callbacks back into PSImpl, and that it could be possible for PSImpl to have been destroyed at the time of callback invocation, the callbacks are bound using WeakPtr<PsImpl>. Added C++ data types in content/public/browser that corresponds to PresentationSessionInfo/PresentationError in mojom. Added mojo converter templates + tests. Also removed the PresentationSession field from PresentationSessionInfo as PresentationSession is a mojo interface. It's done to separate data structs from interfaces. BUG=459001 Review URL: https://codereview.chromium.org/979413002 Cr-Commit-Position: refs/heads/master@{#321195}
Diffstat (limited to 'content/content_common_mojo_bindings.gyp')
-rw-r--r--content/content_common_mojo_bindings.gyp1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/content_common_mojo_bindings.gyp b/content/content_common_mojo_bindings.gyp
index 49a9bb4..e898e6c 100644
--- a/content/content_common_mojo_bindings.gyp
+++ b/content/content_common_mojo_bindings.gyp
@@ -15,7 +15,6 @@
'common/geolocation_service.mojom',
'common/permission_service.mojom',
'common/presentation/presentation_service.mojom',
- 'common/presentation/presentation_session.mojom',
'common/render_frame_setup.mojom',
# NOTE: Sources duplicated in