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

Unified Diff: ash/wm/system_gesture_event_filter.cc

Issue 10823199: While dragging a window, show a semi-transparent aura window instead of the standard gray phantom wi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura Created 8 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
« no previous file with comments | « no previous file | ash/wm/window_resizer.h » ('j') | ash/wm/workspace/phantom_window_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter.cc
diff --git a/ash/wm/system_gesture_event_filter.cc b/ash/wm/system_gesture_event_filter.cc
index 6bb5d8aeb1c23581fcdb41ef9dbd19143aab95aa..2f8dceffb7ee1387d539e2b42ed28d2e2738023b 100644
--- a/ash/wm/system_gesture_event_filter.cc
+++ b/ash/wm/system_gesture_event_filter.cc
@@ -365,7 +365,7 @@ class SystemPinchHandler {
public:
explicit SystemPinchHandler(aura::Window* target)
: target_(target),
- phantom_(target),
+ phantom_(target, NULL, PhantomWindowController::STYLE_SHADOW),
phantom_state_(PHANTOM_WINDOW_NORMAL),
pinch_factor_(1.) {
widget_ = views::Widget::GetWidgetForNativeWindow(target_);
« no previous file with comments | « no previous file | ash/wm/window_resizer.h » ('j') | ash/wm/workspace/phantom_window_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698