| Index: chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc b/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc
|
| index 987a0a8ff83cfefb07db589302e8467eac02fc54..b1737ea23d051309025f70eddf322e4e05235687 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc
|
| @@ -11,6 +11,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| +#include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #include "ui/base/window_open_disposition.h"
|
|
|
| namespace autofill {
|
| @@ -97,6 +98,15 @@ void AutofillDialogSignInDelegate::AddNewContents(
|
| was_blocked);
|
| }
|
|
|
| +bool AutofillDialogSignInDelegate::PreHandleGestureEvent(
|
| + content::WebContents* source,
|
| + const blink::WebGestureEvent& event) {
|
| + // Disable pinch zooming.
|
| + return event.type == blink::WebGestureEvent::GesturePinchBegin ||
|
| + event.type == blink::WebGestureEvent::GesturePinchUpdate ||
|
| + event.type == blink::WebGestureEvent::GesturePinchEnd;
|
| +}
|
| +
|
| void AutofillDialogSignInDelegate::RenderViewCreated(
|
| content::RenderViewHost* render_view_host) {
|
| EnableAutoResize();
|
|
|