summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 14:51:36 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-18 14:51:36 +0000
commit0c89ee8c8f4a68eeac34eebafccb8d57a11525cb (patch)
tree5dfb5f4051b9b02328a0ee5a8b0210ff9d237ccf /content
parent0f0f6540c1f8253a17fd68bf9e53341320eb1fb6 (diff)
downloadchromium_src-0c89ee8c8f4a68eeac34eebafccb8d57a11525cb.zip
chromium_src-0c89ee8c8f4a68eeac34eebafccb8d57a11525cb.tar.gz
chromium_src-0c89ee8c8f4a68eeac34eebafccb8d57a11525cb.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. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188430 Review URL: https://codereview.chromium.org/12330108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_mac.mm4
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 3602386..954c1f5 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"