diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 17:19:38 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 17:19:38 +0000 |
commit | 739c3b8f7e245597db337947dde33f2ac84513b1 (patch) | |
tree | e479ef08549ed69a4c14b3e41b42a161e3cce3e6 /content | |
parent | e2ede971c1aeec2a2e508d37dac6bebfec889b1f (diff) | |
download | chromium_src-739c3b8f7e245597db337947dde33f2ac84513b1.zip chromium_src-739c3b8f7e245597db337947dde33f2ac84513b1.tar.gz chromium_src-739c3b8f7e245597db337947dde33f2ac84513b1.tar.bz2 |
mac: Fix sending of mouse moved events after resizing window's lower left corner
NSTrackingInVisibleRect is apparently just broken (see
http://openradar.appspot.com/radar?id=2773401 ), so keep the tracking area
frame up to date manually.
I tried to write a test, but failed to simulate mouse events that impress
NSTrackingArea, see patch sets on the review.
BUG=176725
TEST=see bug: Open the html file in the first comment, then put the cursor in the inside lower left corner of the window and click-drag-resize the window so that it grows in y direction (x direction doesn't matter). The js-triggered position display should continue updating when moving the cursor to the upper right (further into the window) after the resize operation.
Review URL: https://codereview.chromium.org/12330108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_mac.mm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm index a90526f..c328768 100644 --- a/content/browser/renderer_host/render_widget_host_view_mac.mm +++ b/content/browser/renderer_host/render_widget_host_view_mac.mm @@ -13,7 +13,6 @@ #include "base/logging.h" #include "base/mac/mac_util.h" #include "base/mac/scoped_cftyperef.h" -#import "base/mac/scoped_nsautorelease_pool.h" #import "base/memory/scoped_nsobject.h" #include "base/message_loop.h" #include "base/metrics/histogram.h" @@ -24,12 +23,10 @@ #include "base/utf_string_conversions.h" #import "content/browser/accessibility/browser_accessibility_cocoa.h" #include "content/browser/accessibility/browser_accessibility_manager_mac.h" -#include "content/browser/plugin_process_host.h" #import "content/browser/renderer_host/accelerated_plugin_view_mac.h" #include "content/browser/renderer_host/backing_store_mac.h" #include "content/browser/renderer_host/backing_store_manager.h" #include "content/browser/renderer_host/compositing_iosurface_mac.h" -#include "content/browser/renderer_host/render_process_host_impl.h" #include "content/browser/renderer_host/render_view_host_impl.h" #import "content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.h" #import "content/browser/renderer_host/text_input_client_mac.h" @@ -48,7 +45,6 @@ #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebInputEventFactory.h" #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebScreenInfoFactory.h" #import "third_party/mozilla/ComplexTextInputPanel.h" -#include "third_party/skia/include/core/SkColor.h" #import "ui/base/cocoa/fullscreen_window_manager.h" #import "ui/base/cocoa/underlay_opengl_hosting_window.h" #include "ui/base/keycodes/keyboard_codes.h" |