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

Unified Diff: ash/wm/gestures/system_pinch_handler.h

Issue 101773004: Refactor PhantomWindowController so that the PhantomWindowController owns the phantom window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/ash.gyp ('k') | ash/wm/gestures/system_pinch_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/system_pinch_handler.h
diff --git a/ash/wm/gestures/system_pinch_handler.h b/ash/wm/gestures/system_pinch_handler.h
index d5c5a0eade9cf01d8aadb6a382e7982ea750877c..1225c90388b21144a238059b08572fa393170fb1 100644
--- a/ash/wm/gestures/system_pinch_handler.h
+++ b/ash/wm/gestures/system_pinch_handler.h
@@ -6,6 +6,7 @@
#define ASH_WM_GESTURES_SYSTEM_PINCH_HANDLER_H_
#include "ash/wm/workspace/phantom_window_controller.h"
+#include "base/memory/scoped_ptr.h"
namespace aura {
class Window;
@@ -64,7 +65,7 @@ class SystemPinchHandler {
// A phantom window is used to provide visual cues for
// pinch-to-resize/maximize/minimize gestures.
- PhantomWindowController phantom_;
+ scoped_ptr<PhantomWindowController> phantom_;
// When the phantom window is in minimized or maximized state, moving the
// target window should not move the phantom window. So |phantom_state_| is
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/gestures/system_pinch_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698