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

Unified Diff: ash/wm/video_detector.cc

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/video_detector.cc
diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc
index 743b49cb784f6f84d9bba5a7fe130868bf3e1901..cf7436e6a6d44d1d9a561a2438896426e6be8c5b 100644
--- a/ash/wm/video_detector.cc
+++ b/ash/wm/video_detector.cc
@@ -5,6 +5,7 @@
#include "ash/wm/video_detector.h"
#include "ash/shell.h"
+#include "ash/wm/window_state.h"
#include "ash/wm/window_util.h"
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
@@ -122,8 +123,8 @@ void VideoDetector::MaybeNotifyObservers(aura::Window* window,
return;
aura::Window* toplevel_window = wm::GetActivatableWindow(window);
- bool is_fullscreen =
- toplevel_window ? wm::IsWindowFullscreen(toplevel_window) : false;
+ bool is_fullscreen = toplevel_window ?
+ wm::GetWindowState(toplevel_window)->IsFullscreen() : false;
FOR_EACH_OBSERVER(VideoDetectorObserver,
observers_,

Powered by Google App Engine
This is Rietveld 408576698