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

Side by Side Diff: headless/lib/tab_socket.mojom

Issue 2813953002: Add HeadlessTabSocket (Closed)
Patch Set: Change HeadlessTabSocketImpl::SetListener Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module headless;
6
7 interface TabSocket {
8 // Send a message from the Tab to C++ embedder.
9 SendMessageToEmbedder(string message);
10
11 // Waits for the next message to sent from the embedder C++ to the tab.
12 // NB this is non-blocking.
13 AwaitNextMessageFromEmbedder() => (string message);
14 };
OLDNEW
« no previous file with comments | « headless/lib/resources/headless_lib_resources.grd ('k') | headless/public/headless_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698