summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/chrome_browser_window.mm
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 17:15:14 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 17:15:14 +0000
commit88ea7b1eeb6717bb993025afa25e9f80e382e891 (patch)
tree833cfcbf5f0f52b2bb5361913de1aa3676af0f58 /chrome/browser/cocoa/chrome_browser_window.mm
parent0986c8dc481d431a43997a6323ae4b0a4354aff4 (diff)
downloadchromium_src-88ea7b1eeb6717bb993025afa25e9f80e382e891.zip
chromium_src-88ea7b1eeb6717bb993025afa25e9f80e382e891.tar.gz
chromium_src-88ea7b1eeb6717bb993025afa25e9f80e382e891.tar.bz2
Base coordinate system != Window base coordinate system. Marking things to be fixed.
BUG=http://crbug.com/36485 TEST=none; marking things to be fixed Review URL: http://codereview.chromium.org/661047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/chrome_browser_window.mm')
-rw-r--r--chrome/browser/cocoa/chrome_browser_window.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/chrome_browser_window.mm b/chrome/browser/cocoa/chrome_browser_window.mm
index 897f6ac..4002cb7 100644
--- a/chrome/browser/cocoa/chrome_browser_window.mm
+++ b/chrome/browser/cocoa/chrome_browser_window.mm
@@ -285,6 +285,7 @@ namespace {
if (![self isMainWindow]) {
if ([event type] == NSLeftMouseDown) {
NSView* frameView = [self frameView];
+ // TODO(avi) http://crbug.com/36485; base != window
NSPoint mouse = [frameView convertPointFromBase:[event locationInWindow]];
if (NSPointInRect(mouse, [closeButton_ frame])) {
[closeButton_ mouseDown:event];