Home | History | Annotate | Download | only in embedder

Lines Matching defs:handle_

20   explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {}
21 ~ScopedPlatformHandle() { handle_.CloseIfNecessary(); }
25 : handle_(other.release()) {}
29 handle_ = other.release();
33 const PlatformHandle& get() const { return handle_; }
36 PlatformHandle temp = handle_;
37 handle_ = other.handle_;
38 other.handle_ = temp;
42 PlatformHandle rv = handle_;
43 handle_ = PlatformHandle();
48 handle_.CloseIfNecessary();
49 handle_ = handle;
52 bool is_valid() const { return handle_.is_valid(); }
55 PlatformHandle handle_;