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

Unified Diff: ash/wm/wm_types.cc

Issue 27458002: Allow setting different hit test bounds overrides for mouse and touch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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/wm_types.cc
diff --git a/ash/wm/wm_types.cc b/ash/wm/wm_types.cc
index c7f45ce7cb36a4195a56a927c15e912b0f45fb80..982812990fc4b8ddbba53ac8c30787ad1a2edee5 100644
--- a/ash/wm/wm_types.cc
+++ b/ash/wm/wm_types.cc
@@ -45,5 +45,10 @@ ui::WindowShowState ToWindowShowState(WindowShowType type) {
return ui::SHOW_STATE_DEFAULT;
}
+bool IsImmersiveFullscreenType(FullscreenType type) {
+ return type == FULLSCREEN_TYPE_IMMERSIVE_MINIMAL_CHROME ||
+ type == FULLSCREEN_TYPE_IMMERSIVE_NO_CHROME;
+}
+
} // namespace wm
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698