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

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 15008002: Make touch-resizing windows to screen edge possible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move border immediately under the finger + change snapping distance back to 16 Created 7 years, 6 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/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index 055a6b0dcc2d0dfc82ca33e57fbfb2da4f35c091..76ad9ab653959c241a4efed4171c59d77b6b72c2 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -78,7 +78,8 @@ class PanelWindowResizerTest : public test::AshTestBase {
const gfx::Point& point_in_parent,
int window_component) {
return static_cast<PanelWindowResizer*>(CreateWindowResizer(
- window, point_in_parent, window_component).release());
+ window, point_in_parent, window_component,
+ aura::client::WINDOW_MOVE_SOURCE_MOUSE).release());
}
void DragStart(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698