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

Unified Diff: components/exo/shell_surface.cc

Issue 2790943003: Add ability to have active window autohide shelf (Closed)
Patch Set: Created 3 years, 9 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 | « ash/wm/window_util.cc ('k') | components/exo/shell_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index df357a5f078114b2026fe09b67fe4e39428c95e7..97c18fee52ec16c9c7bce0881830f57cb2598d4f 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -478,8 +478,7 @@ void ShellSurface::SetPinned(bool pinned, bool trusted) {
void ShellSurface::SetSystemUiVisibility(bool autohide) {
TRACE_EVENT1("exo", "ShellSurface::SetSystemUiVisibility", "autohide",
autohide);
- // TODO: Implemented in next CL. crbug.com/705723
- NOTIMPLEMENTED();
+ ash::wm::SetAutoHideShelf(widget_->GetNativeWindow(), autohide);
}
void ShellSurface::SetTitle(const base::string16& title) {
« no previous file with comments | « ash/wm/window_util.cc ('k') | components/exo/shell_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698