Lines Matching refs:host_
18 : host_(host),
23 if (host_->native_view()) {
24 host_->native_view()->ClearProperty(views::kHostViewKey);
25 host_->native_view()->RemoveObserver(this);
32 host_->native_view()->AddObserver(this);
33 host_->native_view()->SetProperty(views::kHostViewKey,
34 static_cast<View*>(host_));
39 host_->native_view()->ClearProperty(views::kHostViewKey);
40 host_->native_view()->RemoveObserver(this);
41 host_->native_view()->Hide();
42 if (host_->native_view()->parent())
43 Widget::ReparentNativeView(host_->native_view(), NULL);
48 if (!host_->native_view())
51 aura::Window* widget_window = host_->GetWidget()->GetNativeView();
52 if (host_->native_view()->parent() != widget_window)
53 widget_window->AddChild(host_->native_view());
54 if (host_->IsDrawn())
55 host_->native_view()->Show();
57 host_->native_view()->Hide();
58 host_->Layout();
62 if (host_->native_view()) {
63 host_->native_view()->Hide();
64 if (host_->native_view()->parent())
65 host_->native_view()->parent()->RemoveChild(host_->native_view());
85 host_->native_view()->SetBounds(gfx::Rect(x, y, w, h));
86 host_->native_view()->Show();
90 host_->native_view()->Hide();
94 aura::Window* window = host_->native_view();
105 if (host_->native_view())
106 return host_->native_view()->GetCursor(gfx::Point(x, y));
111 DCHECK(window == host_->native_view());
112 host_->NativeViewDestroyed();