i did not see any usage of this function result -- scoped_refptr<NativeAppWindow>, seems function's semantics should be recoinsidered.