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

Unified Diff: ash/wm/workspace/frame_maximize_button.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
Index: ash/wm/workspace/frame_maximize_button.cc
diff --git a/ash/wm/workspace/frame_maximize_button.cc b/ash/wm/workspace/frame_maximize_button.cc
index 9a584c87685e448d8d67d7743755d24b224a7783..1a6f7b9300e00a0a7629877ae2909a2b99cc4ce8 100644
--- a/ash/wm/workspace/frame_maximize_button.cc
+++ b/ash/wm/workspace/frame_maximize_button.cc
@@ -388,7 +388,9 @@ void FrameMaximizeButton::UpdateSnap(const gfx::Point& location) {
}
if (!phantom_window_.get()) {
phantom_window_.reset(new internal::PhantomWindowController(
- frame_->GetWidget()->GetNativeWindow()));
+ frame_->GetWidget()->GetNativeWindow(),
+ NULL,
+ internal::PhantomWindowController::STYLE_SHADOW));
}
if (maximizer_.get()) {
phantom_window_->set_phantom_below_window(maximizer_->GetBubbleWindow());

Powered by Google App Engine
This is Rietveld 408576698