Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1697)

Unified Diff: mojo/examples/aura_demo/root_window_host_mojo.cc

Issue 145403002: view manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/aura_demo/root_window_host_mojo.cc
diff --git a/mojo/examples/aura_demo/root_window_host_mojo.cc b/mojo/examples/aura_demo/root_window_host_mojo.cc
index 86794f21795664d913229c83e34a0795bdb1844f..7e09d8dee0f0f2ed825b8b7f88b12945e7a988e6 100644
--- a/mojo/examples/aura_demo/root_window_host_mojo.cc
+++ b/mojo/examples/aura_demo/root_window_host_mojo.cc
@@ -72,11 +72,13 @@ gfx::AcceleratedWidget WindowTreeHostMojo::GetAcceleratedWidget() {
}
void WindowTreeHostMojo::Show() {
+ window()->Show();
native_viewport_->Show();
}
void WindowTreeHostMojo::Hide() {
- NOTIMPLEMENTED();
+ native_viewport_->Hide();
+ window()->Hide();
}
void WindowTreeHostMojo::ToggleFullScreen() {
« no previous file with comments | « no previous file | mojo/examples/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698