Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 163843002: Fix check for user gesture on password autofill (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New implementation using isUserGestureEventType Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 virtual void DidInitiatePaint() OVERRIDE; 685 virtual void DidInitiatePaint() OVERRIDE;
686 virtual void DidFlushPaint() OVERRIDE; 686 virtual void DidFlushPaint() OVERRIDE;
687 virtual PepperPluginInstanceImpl* GetBitmapForOptimizedPluginPaint( 687 virtual PepperPluginInstanceImpl* GetBitmapForOptimizedPluginPaint(
688 const gfx::Rect& paint_bounds, 688 const gfx::Rect& paint_bounds,
689 TransportDIB** dib, 689 TransportDIB** dib,
690 gfx::Rect* location, 690 gfx::Rect* location,
691 gfx::Rect* clip, 691 gfx::Rect* clip,
692 float* scale_factor) OVERRIDE; 692 float* scale_factor) OVERRIDE;
693 virtual gfx::Vector2d GetScrollOffset() OVERRIDE; 693 virtual gfx::Vector2d GetScrollOffset() OVERRIDE;
694 virtual void DidHandleKeyEvent() OVERRIDE; 694 virtual void DidHandleKeyEvent() OVERRIDE;
695 virtual void ProcessingUserGestureEvent() OVERRIDE;
695 virtual bool WillHandleMouseEvent( 696 virtual bool WillHandleMouseEvent(
696 const blink::WebMouseEvent& event) OVERRIDE; 697 const blink::WebMouseEvent& event) OVERRIDE;
697 virtual bool WillHandleGestureEvent( 698 virtual bool WillHandleGestureEvent(
698 const blink::WebGestureEvent& event) OVERRIDE; 699 const blink::WebGestureEvent& event) OVERRIDE;
699 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) OVERRIDE; 700 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) OVERRIDE;
700 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) OVERRIDE; 701 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) OVERRIDE;
701 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const OVERRIDE; 702 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const OVERRIDE;
702 virtual void OnSetFocus(bool enable) OVERRIDE; 703 virtual void OnSetFocus(bool enable) OVERRIDE;
703 virtual void OnWasHidden() OVERRIDE; 704 virtual void OnWasHidden() OVERRIDE;
704 virtual void OnWasShown(bool needs_repainting) OVERRIDE; 705 virtual void OnWasShown(bool needs_repainting) OVERRIDE;
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 // use the Observer interface to filter IPC messages and receive frame change 1463 // use the Observer interface to filter IPC messages and receive frame change
1463 // notifications. 1464 // notifications.
1464 // --------------------------------------------------------------------------- 1465 // ---------------------------------------------------------------------------
1465 1466
1466 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1467 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1467 }; 1468 };
1468 1469
1469 } // namespace content 1470 } // namespace content
1470 1471
1471 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1472 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698