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

Side by Side Diff: third_party/WebKit/public/web/WebWidgetClient.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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Called immediately following the first compositor-driven (frame-generating) 77 // Called immediately following the first compositor-driven (frame-generating)
78 // layout that happened after an interesting document lifecyle change (see 78 // layout that happened after an interesting document lifecyle change (see
79 // WebMeaningfulLayout for details.) 79 // WebMeaningfulLayout for details.)
80 virtual void DidMeaningfulLayout(WebMeaningfulLayout) {} 80 virtual void DidMeaningfulLayout(WebMeaningfulLayout) {}
81 81
82 virtual void DidFirstLayoutAfterFinishedParsing() {} 82 virtual void DidFirstLayoutAfterFinishedParsing() {}
83 83
84 // Called when the cursor for the widget changes. 84 // Called when the cursor for the widget changes.
85 virtual void DidChangeCursor(const WebCursorInfo&) {} 85 virtual void DidChangeCursor(const WebCursorInfo&) {}
86 86
87 virtual void AutoscrollStart(const WebFloatPoint&) {}
88 virtual void AutoscrollFling(const WebFloatSize& velocity) {}
89 virtual void AutoscrollEnd() {}
90
87 // Called when the widget should be closed. WebWidget::close() should 91 // Called when the widget should be closed. WebWidget::close() should
88 // be called asynchronously as a result of this notification. 92 // be called asynchronously as a result of this notification.
89 virtual void CloseWidgetSoon() {} 93 virtual void CloseWidgetSoon() {}
90 94
91 // Called to show the widget according to the given policy. 95 // Called to show the widget according to the given policy.
92 virtual void Show(WebNavigationPolicy) {} 96 virtual void Show(WebNavigationPolicy) {}
93 97
94 // Called to get/set the position of the widget's window in screen 98 // Called to get/set the position of the widget's window in screen
95 // coordinates. Note, the window includes any decorations such as borders, 99 // coordinates. Note, the window includes any decorations such as borders,
96 // scrollbars, URL bar, tab strip, etc. if they exist. 100 // scrollbars, URL bar, tab strip, etc. if they exist.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual void StartDragging(WebReferrerPolicy, 186 virtual void StartDragging(WebReferrerPolicy,
183 const WebDragData&, 187 const WebDragData&,
184 WebDragOperationsMask, 188 WebDragOperationsMask,
185 const WebImage& drag_image, 189 const WebImage& drag_image,
186 const WebPoint& drag_image_offset) {} 190 const WebPoint& drag_image_offset) {}
187 }; 191 };
188 192
189 } // namespace blink 193 } // namespace blink
190 194
191 #endif 195 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698