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

Side by Side Diff: content/renderer/render_widget.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 | « content/common/view_messages.h ('k') | content/renderer/render_widget.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 // 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_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void SetScreenMetricsEmulationParameters( 278 void SetScreenMetricsEmulationParameters(
279 bool enabled, 279 bool enabled,
280 const blink::WebDeviceEmulationParams& params) override; 280 const blink::WebDeviceEmulationParams& params) override;
281 void SetScreenRects(const gfx::Rect& view_screen_rect, 281 void SetScreenRects(const gfx::Rect& view_screen_rect,
282 const gfx::Rect& window_screen_rect) override; 282 const gfx::Rect& window_screen_rect) override;
283 283
284 // blink::WebWidgetClient 284 // blink::WebWidgetClient
285 blink::WebLayerTreeView* InitializeLayerTreeView() override; 285 blink::WebLayerTreeView* InitializeLayerTreeView() override;
286 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override; 286 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override;
287 void DidChangeCursor(const blink::WebCursorInfo&) override; 287 void DidChangeCursor(const blink::WebCursorInfo&) override;
288 void AutoscrollStart(const blink::WebFloatPoint& point) override;
289 void AutoscrollFling(const blink::WebFloatSize& velocity) override;
290 void AutoscrollEnd() override;
288 void CloseWidgetSoon() override; 291 void CloseWidgetSoon() override;
289 void Show(blink::WebNavigationPolicy) override; 292 void Show(blink::WebNavigationPolicy) override;
290 blink::WebRect WindowRect() override; 293 blink::WebRect WindowRect() override;
291 blink::WebRect ViewRect() override; 294 blink::WebRect ViewRect() override;
292 void SetToolTipText(const blink::WebString& text, 295 void SetToolTipText(const blink::WebString& text,
293 blink::WebTextDirection hint) override; 296 blink::WebTextDirection hint) override;
294 void SetWindowRect(const blink::WebRect&) override; 297 void SetWindowRect(const blink::WebRect&) override;
295 blink::WebScreenInfo GetScreenInfo() override; 298 blink::WebScreenInfo GetScreenInfo() override;
296 void DidHandleGestureEvent(const blink::WebGestureEvent& event, 299 void DidHandleGestureEvent(const blink::WebGestureEvent& event,
297 bool event_cancelled) override; 300 bool event_cancelled) override;
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 scoped_refptr<MainThreadEventQueue> input_event_queue_; 898 scoped_refptr<MainThreadEventQueue> input_event_queue_;
896 899
897 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; 900 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_;
898 901
899 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 902 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
900 }; 903 };
901 904
902 } // namespace content 905 } // namespace content
903 906
904 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 907 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698