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

Unified Diff: ash/wm/overview/scoped_transform_overview_window.h

Issue 690103008: Implemented swipe to close in overview mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed ET_SCROLL_FLING_CANCEL handling from TransparentButton and removed WindowSelector.MultiWind… Created 5 years, 12 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/overview/scoped_transform_overview_window.h
diff --git a/ash/wm/overview/scoped_transform_overview_window.h b/ash/wm/overview/scoped_transform_overview_window.h
index b38f517b61a0a0b2d634e089e9c3639b179fa0ae..a84c2f8a7e71f86ec9c7cf1ed1486ea6d3ad880a 100644
--- a/ash/wm/overview/scoped_transform_overview_window.h
+++ b/ash/wm/overview/scoped_transform_overview_window.h
@@ -63,7 +63,6 @@ class ScopedTransformOverviewWindow
return activate_button_.get();
}
-
// Starts an animation sequence which will use animation settings specified by
// |animation_type|. The |animation_settings| container is populated with
// scoped entities and the container should be destroyed at the end of the
@@ -114,10 +113,10 @@ class ScopedTransformOverviewWindow
aura::Window* window() const { return window_; }
- // Closes the transient root of the window managed by |this|.
- void Close();
-
// ash::TransparentActivateWindowButtonDelegate:
+ void Scroll(int delta_x) override;
+ void CancelScroll() override;
+ void Close() override;
void Select() override;
private:

Powered by Google App Engine
This is Rietveld 408576698