From ca537df2c52990acf97fb1c42ec2d993c60eae2d Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 31 Jul 2023 14:41:48 +0300 Subject: grpc-proxy: Add dynamic scale of floating windows This adds basic scaling for floating windows, sending new dimensions to the clients to resize itself. Bug-AGL: SPEC-4862 Signed-off-by: Marius Vlad Change-Id: Ic693153cd704b278dcddd2514afc8dafecf8829b --- grpc-proxy/grpc-async-cb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'grpc-proxy/grpc-async-cb.h') diff --git a/grpc-proxy/grpc-async-cb.h b/grpc-proxy/grpc-async-cb.h index 21a4e4d..cb8adcb 100644 --- a/grpc-proxy/grpc-async-cb.h +++ b/grpc-proxy/grpc-async-cb.h @@ -100,6 +100,10 @@ public: const ::agl_shell_ipc::AppPositionRequest* request, ::agl_shell_ipc::AppPositionResponse* /*response*/) override; + grpc::ServerUnaryReactor *SetAppScale(grpc::CallbackServerContext *context, + const ::agl_shell_ipc::AppScaleRequest* request, + ::agl_shell_ipc::AppScaleResponse* /*response*/) override; + grpc::ServerWriteReactor< ::agl_shell_ipc::AppStateResponse>* AppStatusState( ::grpc::CallbackServerContext* /*context*/, const ::agl_shell_ipc::AppStateRequest* /*request*/) override; -- cgit 1.2.3-korg