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

Unified Diff: ash/frame/frame_border_hit_test.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/frame/frame_border_hit_test.cc
diff --git a/ash/frame/frame_border_hit_test.cc b/ash/frame/frame_border_hit_test.cc
index e9d32582d51b9962510535786b8972387dec39af..fd5f0b19b41e014e62baef5c7d9f6548bd02412c 100644
--- a/ash/frame/frame_border_hit_test.cc
+++ b/ash/frame/frame_border_hit_test.cc
@@ -6,7 +6,7 @@
#include "ash/ash_constants.h"
#include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "ui/base/hit_test.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_delegate.h"
@@ -21,7 +21,7 @@ int FrameBorderNonClientHitTest(
gfx::Rect expanded_bounds = view->bounds();
int outside_bounds = kResizeOutsideBoundsSize;
- if (WmShell::Get()->IsTouchDown())
+ if (ShellPort::Get()->IsTouchDown())
outside_bounds *= kResizeOutsideBoundsScaleForTouch;
expanded_bounds.Inset(-outside_bounds, -outside_bounds);

Powered by Google App Engine
This is Rietveld 408576698