summaryrefslogtreecommitdiffstats
path: root/ash/drag_drop
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 22:14:10 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 22:14:10 +0000
commit19ce5c5150f0900e0365720bb2c9ccde589b07b7 (patch)
treeeea0c9827409e02a7fb9944dc81d549d7a018c8d /ash/drag_drop
parentb0b24675f94909c79fb44693bcd983aee63723a7 (diff)
downloadchromium_src-19ce5c5150f0900e0365720bb2c9ccde589b07b7.zip
chromium_src-19ce5c5150f0900e0365720bb2c9ccde589b07b7.tar.gz
chromium_src-19ce5c5150f0900e0365720bb2c9ccde589b07b7.tar.bz2
ash: Use TYPE_WINDOW_FRAMELESS for drag widget.
Removes the shadow artifact from drag widgets and makes them match the apperance on MacOSX and Linux. BUG=118022 TEST=manual Review URL: http://codereview.chromium.org/9963137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/drag_drop')
-rw-r--r--ash/drag_drop/drag_image_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/drag_drop/drag_image_view.cc b/ash/drag_drop/drag_image_view.cc
index 993d4b8..29619605 100644
--- a/ash/drag_drop/drag_image_view.cc
+++ b/ash/drag_drop/drag_image_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,7 +15,7 @@ using views::Widget;
Widget* CreateDragWidget() {
Widget* drag_widget = new Widget;
Widget::InitParams params;
- params.type = Widget::InitParams::TYPE_TOOLTIP;
+ params.type = Widget::InitParams::TYPE_WINDOW_FRAMELESS;
params.keep_on_top = true;
params.accept_events = false;
params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;