| Index: content/browser/renderer_host/input/input_router_impl.cc
|
| diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
|
| index 1dc0f2ccd07bfd3a03d0e7b821edf4bd3e263b45..b0ead629a878809d9bb4241985e569b4f40430da 100644
|
| --- a/content/browser/renderer_host/input/input_router_impl.cc
|
| +++ b/content/browser/renderer_host/input/input_router_impl.cc
|
| @@ -8,6 +8,10 @@
|
|
|
| #include <utility>
|
|
|
| +#include "base/debug/debugger.h"
|
| +// TODO: DO NOT SUBMIT: Remove ad-hoc debugging before submitting.
|
| +#include "base/debug/stack_trace.h"
|
| +
|
| #include "base/auto_reset.h"
|
| #include "base/command_line.h"
|
| #include "base/memory/ptr_util.h"
|
| @@ -437,8 +441,27 @@ bool InputRouterImpl::OfferToRenderer(const WebInputEvent& input_event,
|
| // or in-flight event count metrics.
|
| if (dispatch_type == InputEventDispatchType::DISPATCH_TYPE_BLOCKING)
|
| client_->IncrementInFlightEventCount(input_event.type());
|
| +
|
| + if (WebInputEvent::isMouseEventType(input_event.type())) {
|
| + const WebMouseEvent* me = static_cast<const WebMouseEvent*>(&input_event);
|
| + LOG(ERROR) << "; button = " << static_cast<int>(me->button)
|
| + << "; local = (" << me->x << ", " << me->y << ")"
|
| + << "; global = (" << me->globalX << ", " << me->globalY << ")";
|
| + if (me->button == blink::WebPointerProperties::Button::NoButton &&
|
| + me->x == 55) {
|
| + static int counter = 0;
|
| + counter++;
|
| + if (counter == 3) {
|
| + LOG(ERROR) << "; stack = " << base::debug::StackTrace().ToString();
|
| + }
|
| + }
|
| + }
|
| +
|
| return true;
|
| }
|
| +
|
| + LOG(ERROR) << "OfferToRenderer - Send returned false - !!!!!!!!!!!";
|
| +
|
| return false;
|
| }
|
|
|
|
|