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

Unified Diff: ash/accelerators/accelerator_filter.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/accelerators/accelerator_filter.cc
diff --git a/ash/accelerators/accelerator_filter.cc b/ash/accelerators/accelerator_filter.cc
index 892beabff2627ce55335d2fa0cbc4a045e09eb6c..d4a77ba9a0f388a743bd46f6cfc99e7cfcf76dc6 100644
--- a/ash/accelerators/accelerator_filter.cc
+++ b/ash/accelerators/accelerator_filter.cc
@@ -6,7 +6,7 @@
#include "ash/accelerators/accelerator_controller.h"
#include "ash/shell.h"
-#include "ash/wm/window_util.h"
+#include "ash/wm/window_state.h"
#include "ui/aura/root_window.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/accelerators/accelerator_manager.h"
@@ -33,7 +33,7 @@ bool ShouldProcessAcceleratorsNow(const ui::Accelerator& accelerator,
// A full screen window should be able to handle all key events including the
// reserved ones.
- if (wm::IsWindowFullscreen(target)) {
+ if (wm::GetWindowState(target)->IsFullscreen()) {
// TODO(yusukes): On Chrome OS, only browser and flash windows can be full
// screen. Launching an app in "open full-screen" mode is not supported yet.
// That makes the IsWindowFullscreen() check above almost meaningless

Powered by Google App Engine
This is Rietveld 408576698