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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2918053002: Move middle-click autoscroll to synthetic fling. (Closed)
Patch Set: Delete redundant cursor shape print Created 3 years, 6 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 struct WebCompositionUnderline; 70 struct WebCompositionUnderline;
71 } 71 }
72 72
73 namespace cc { 73 namespace cc {
74 struct BeginFrameAck; 74 struct BeginFrameAck;
75 } // namespace cc 75 } // namespace cc
76 76
77 namespace gfx { 77 namespace gfx {
78 class Image; 78 class Image;
79 class Range; 79 class Range;
80 class Vector2dF;
80 } 81 }
81 82
82 namespace content { 83 namespace content {
83 84
84 class BrowserAccessibilityManager; 85 class BrowserAccessibilityManager;
85 class InputRouter; 86 class InputRouter;
86 class MockRenderWidgetHost; 87 class MockRenderWidgetHost;
87 class RenderWidgetHostOwnerDelegate; 88 class RenderWidgetHostOwnerDelegate;
88 class SyntheticGestureController; 89 class SyntheticGestureController;
89 class TimeoutMonitor; 90 class TimeoutMonitor;
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 // IPC message handlers 657 // IPC message handlers
657 void OnRenderProcessGone(int status, int error_code); 658 void OnRenderProcessGone(int status, int error_code);
658 void OnClose(); 659 void OnClose();
659 void OnUpdateScreenRectsAck(); 660 void OnUpdateScreenRectsAck();
660 void OnRequestMove(const gfx::Rect& pos); 661 void OnRequestMove(const gfx::Rect& pos);
661 void OnSetTooltipText(const base::string16& tooltip_text, 662 void OnSetTooltipText(const base::string16& tooltip_text,
662 blink::WebTextDirection text_direction_hint); 663 blink::WebTextDirection text_direction_hint);
663 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 664 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
664 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet); 665 void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
665 void OnSetCursor(const WebCursor& cursor); 666 void OnSetCursor(const WebCursor& cursor);
667 void OnAutoscrollStart(const gfx::PointF& position);
668 void OnAutoscrollFling(const gfx::Vector2dF& velocity);
669 void OnAutoscrollEnd();
666 void OnTextInputStateChanged(const TextInputState& params); 670 void OnTextInputStateChanged(const TextInputState& params);
667 671
668 void OnImeCompositionRangeChanged( 672 void OnImeCompositionRangeChanged(
669 const gfx::Range& range, 673 const gfx::Range& range,
670 const std::vector<gfx::Rect>& character_bounds); 674 const std::vector<gfx::Rect>& character_bounds);
671 void OnImeCancelComposition(); 675 void OnImeCancelComposition();
672 void OnLockMouse(bool user_gesture, 676 void OnLockMouse(bool user_gesture,
673 bool privileged); 677 bool privileged);
674 void OnUnlockMouse(); 678 void OnUnlockMouse();
675 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels, 679 void OnShowDisambiguationPopup(const gfx::Rect& rect_pixels,
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 base::OnceClosure begin_frame_callback_; 1001 base::OnceClosure begin_frame_callback_;
998 1002
999 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 1003 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
1000 1004
1001 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 1005 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
1002 }; 1006 };
1003 1007
1004 } // namespace content 1008 } // namespace content
1005 1009
1006 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 1010 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/gesture_event_queue.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698