Handle window movement/resize/close on our side and not in Android

This leads to much better performance and user interaction. Resizing
still has some flickering but that is a different area of problems.
This commit is contained in:
Simon Fels 2016-12-08 07:08:25 +01:00
commit 65531a3b82
17 changed files with 230 additions and 41 deletions

View file

@ -39,6 +39,8 @@ class InstallApplication;
class LaunchApplication;
class SetDnsServers;
class SetFocusedTask;
class RemoveTask;
class ResizeTask;
} // namespace bridge
namespace rpc {
class Void;
@ -57,6 +59,14 @@ public:
anbox::protobuf::rpc::Void *response,
google::protobuf::Closure *done);
void remove_task(anbox::protobuf::bridge::RemoveTask const *request,
anbox::protobuf::rpc::Void *response,
google::protobuf::Closure *done);
void resize_task(anbox::protobuf::bridge::ResizeTask const *request,
anbox::protobuf::rpc::Void *response,
google::protobuf::Closure *done);
private:
void wait_for_process(core::posix::ChildProcess &process,
anbox::protobuf::rpc::Void *response);