summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels/detached_panel_collection.cc
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 08:40:32 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-06 08:40:32 +0000
commit28c3d0a9c7f17208100e97cfb428538d1214e087 (patch)
tree136c3a8fb64e772a7a351ab664d033b1cad65994 /chrome/browser/ui/panels/detached_panel_collection.cc
parent0130137bfbda9cd1f487238ba13deafbfa65c988 (diff)
downloadchromium_src-28c3d0a9c7f17208100e97cfb428538d1214e087.zip
chromium_src-28c3d0a9c7f17208100e97cfb428538d1214e087.tar.gz
chromium_src-28c3d0a9c7f17208100e97cfb428538d1214e087.tar.bz2
Switch to doing user-resizing via system for panels on Mac
We used to track and handle user-resizing by ourselves. This brings up a few problems and makes the user-resizing hard to use on Mac. For example, the user-resizing could not be triggered outside or on the edge. Switching to doing it via system solve all these problems. Also removed EnableResizeByMouse which is not really used in our code. BUG=282652,282657 TEST=manual test by user-resizing panels Review URL: https://chromiumcodereview.appspot.com/23918002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/panels/detached_panel_collection.cc')
-rw-r--r--chrome/browser/ui/panels/detached_panel_collection.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/ui/panels/detached_panel_collection.cc b/chrome/browser/ui/panels/detached_panel_collection.cc
index d525dac..d3e614c 100644
--- a/chrome/browser/ui/panels/detached_panel_collection.cc
+++ b/chrome/browser/ui/panels/detached_panel_collection.cc
@@ -239,7 +239,6 @@ void DetachedPanelCollection::UpdatePanelOnCollectionChange(Panel* panel) {
static_cast<Panel::AttentionMode>(Panel::USE_PANEL_ATTENTION |
Panel::USE_SYSTEM_ATTENTION));
panel->ShowShadow(true);
- panel->EnableResizeByMouse(true);
panel->UpdateMinimizeRestoreButtonVisibility();
panel->SetWindowCornerStyle(panel::ALL_ROUNDED);
}