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

Unified Diff: ash/wm/video_detector.cc

Issue 10928037: Revert 155224 - Add is_fullscreen to video updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « ash/wm/video_detector.h ('k') | ash/wm/video_detector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/video_detector.cc
===================================================================
--- ash/wm/video_detector.cc (revision 155231)
+++ ash/wm/video_detector.cc (working copy)
@@ -5,7 +5,6 @@
#include "ash/wm/video_detector.h"
#include "ash/shell.h"
-#include "ash/wm/window_util.h"
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
@@ -104,10 +103,7 @@
if (!window->GetBoundsInRootWindow().Intersects(root_bounds))
return;
- bool is_fullscreen = wm::IsWindowFullscreen(window);
- FOR_EACH_OBSERVER(VideoDetectorObserver,
- observers_,
- OnVideoDetected(is_fullscreen));
+ FOR_EACH_OBSERVER(VideoDetectorObserver, observers_, OnVideoDetected());
last_observer_notification_time_ = now;
}
« no previous file with comments | « ash/wm/video_detector.h ('k') | ash/wm/video_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698