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

Unified Diff: ash/wm/resize_handle_window_targeter.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
Index: ash/wm/resize_handle_window_targeter.cc
diff --git a/ash/wm/resize_handle_window_targeter.cc b/ash/wm/resize_handle_window_targeter.cc
index 358369a94c1a56c09c81889cc3a8f3beed6e896f..3f81c73b36da0602e6549d4d3c270f8041dfcfae 100644
--- a/ash/wm/resize_handle_window_targeter.cc
+++ b/ash/wm/resize_handle_window_targeter.cc
@@ -6,7 +6,7 @@
#include "ash/common/ash_constants.h"
#include "ash/common/wm/window_state.h"
-#include "ash/wm/immersive_fullscreen_controller.h"
+#include "ash/shared/immersive_fullscreen_controller.h"
#include "ash/wm/window_state_aura.h"
#include "ui/aura/window.h"
#include "ui/events/event.h"
@@ -15,7 +15,7 @@ namespace ash {
ResizeHandleWindowTargeter::ResizeHandleWindowTargeter(
aura::Window* window,
- WmImmersiveFullscreenController* controller)
+ ImmersiveFullscreenController* controller)
: window_(window), immersive_controller_(controller) {
wm::WindowState* window_state = wm::GetWindowState(window_);
OnPostWindowStateTypeChange(window_state, wm::WINDOW_STATE_TYPE_DEFAULT);
@@ -61,7 +61,9 @@ aura::Window* ResizeHandleWindowTargeter::FindTargetForLocatedEvent(
// reveal the top-of-windows views. This is needed because the child
// window may consume touch events and prevent touch-scroll gesture from
// being generated.
- insets = gfx::Insets(kImmersiveFullscreenTopEdgeInset, 0, 0, 0);
+ insets = gfx::Insets(
+ ImmersiveFullscreenController::kImmersiveFullscreenTopEdgeInset, 0, 0,
+ 0);
} else {
// If the event falls very close to the inside of the frame border, then
// target the window itself, so that the window can be resized easily.
« no previous file with comments | « ash/wm/resize_handle_window_targeter.h ('k') | chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698