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

Unified Diff: ash/wm/window_util.cc

Issue 14340007: Hide the tab indicators and the shelf when in immersive + tab fullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed kImmersiveModeKey Created 7 years, 8 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
Index: ash/wm/window_util.cc
diff --git a/ash/wm/window_util.cc b/ash/wm/window_util.cc
index 481a27cbc8a2bba583409e0afe69fd52cba5bf3e..1936f9feaa1131554c81fc88787cc9b2c8f5ee95 100644
--- a/ash/wm/window_util.cc
+++ b/ash/wm/window_util.cc
@@ -50,18 +50,6 @@ aura::Window* GetActivatableWindow(aura::Window* window) {
return views::corewm::GetActivatableWindow(window);
}
-bool IsActiveWindowFullscreen() {
- aura::Window* window = GetActiveWindow();
- while (window) {
- if (window->GetProperty(aura::client::kShowStateKey) ==
- ui::SHOW_STATE_FULLSCREEN) {
- return true;
- }
- window = window->parent();
- }
- return false;
-}
-
bool CanActivateWindow(aura::Window* window) {
return views::corewm::CanActivateWindow(window);
}

Powered by Google App Engine
This is Rietveld 408576698