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

Unified Diff: ash/shared/immersive_fullscreen_controller.cc

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 years, 4 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/shared/immersive_fullscreen_controller.h ('k') | ash/shared/immersive_fullscreen_controller_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shared/immersive_fullscreen_controller.cc
diff --git a/ash/wm/immersive_fullscreen_controller.cc b/ash/shared/immersive_fullscreen_controller.cc
similarity index 97%
rename from ash/wm/immersive_fullscreen_controller.cc
rename to ash/shared/immersive_fullscreen_controller.cc
index 231f19969af84d8a087b52d3d78f4dfd89b81085..1af174bee4be1412beda419387f14f5cbb5b7d24 100644
--- a/ash/wm/immersive_fullscreen_controller.cc
+++ b/ash/shared/immersive_fullscreen_controller.cc
@@ -2,16 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/immersive_fullscreen_controller.h"
+#include "ash/shared/immersive_fullscreen_controller.h"
#include <set>
-#include "ash/common/ash_constants.h"
-#include "ash/common/wm/immersive/wm_immersive_fullscreen_controller_delegate.h"
#include "ash/shared/immersive_context.h"
#include "ash/shared/immersive_focus_watcher.h"
+#include "ash/shared/immersive_fullscreen_controller_delegate.h"
#include "ash/shared/immersive_gesture_handler.h"
-#include "ash/wm/immersive_handler_factory.h"
+#include "ash/shared/immersive_handler_factory.h"
#include "base/metrics/histogram.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
@@ -55,11 +54,10 @@ const int kHeightOfDeadRegionAboveTopContainer = 10;
} // namespace
-// The height in pixels of the region below the top edge of the display in which
-// the mouse can trigger revealing the top-of-window views.
-// The height must be greater than 1px because the top pixel is used to trigger
-// moving the cursor between displays if the user has a vertical display layout
-// (primary display above/below secondary display).
+// static
+const int ImmersiveFullscreenController::kImmersiveFullscreenTopEdgeInset = 8;
+
+// static
const int ImmersiveFullscreenController::kMouseRevealBoundsHeight = 3;
////////////////////////////////////////////////////////////////////////////////
@@ -83,7 +81,7 @@ ImmersiveFullscreenController::~ImmersiveFullscreenController() {
}
void ImmersiveFullscreenController::Init(
- WmImmersiveFullscreenControllerDelegate* delegate,
+ ImmersiveFullscreenControllerDelegate* delegate,
views::Widget* widget,
views::View* top_container) {
delegate_ = delegate;
« no previous file with comments | « ash/shared/immersive_fullscreen_controller.h ('k') | ash/shared/immersive_fullscreen_controller_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698