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

Side by Side Diff: third_party/WebKit/Source/web/ChromeClientImpl.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const WebPoint& drag_image_offset) override; 72 const WebPoint& drag_image_offset) override;
73 bool AcceptsLoadDrops() const override; 73 bool AcceptsLoadDrops() const override;
74 Page* CreateWindow(LocalFrame*, 74 Page* CreateWindow(LocalFrame*,
75 const FrameLoadRequest&, 75 const FrameLoadRequest&,
76 const WebWindowFeatures&, 76 const WebWindowFeatures&,
77 NavigationPolicy) override; 77 NavigationPolicy) override;
78 void Show(NavigationPolicy) override; 78 void Show(NavigationPolicy) override;
79 void DidOverscroll(const FloatSize& overscroll_delta, 79 void DidOverscroll(const FloatSize& overscroll_delta,
80 const FloatSize& accumulated_overscroll, 80 const FloatSize& accumulated_overscroll,
81 const FloatPoint& position_in_viewport, 81 const FloatPoint& position_in_viewport,
82 const FloatSize& velocity_in_viewport) override; 82 const FloatSize& velocity_in_viewport,
83 const WebScrollBoundaryBehavior&) override;
83 bool ShouldReportDetailedMessageForSource(LocalFrame&, 84 bool ShouldReportDetailedMessageForSource(LocalFrame&,
84 const String&) override; 85 const String&) override;
85 void AddMessageToConsole(LocalFrame*, 86 void AddMessageToConsole(LocalFrame*,
86 MessageSource, 87 MessageSource,
87 MessageLevel, 88 MessageLevel,
88 const String& message, 89 const String& message,
89 unsigned line_number, 90 unsigned line_number,
90 const String& source_id, 91 const String& source_id,
91 const String& stack_trace) override; 92 const String& stack_trace) override;
92 bool CanOpenBeforeUnloadConfirmPanel() override; 93 bool CanOpenBeforeUnloadConfirmPanel() override;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void TextFieldDataListChanged(HTMLInputElement&) override; 200 void TextFieldDataListChanged(HTMLInputElement&) override;
200 void AjaxSucceeded(LocalFrame*) override; 201 void AjaxSucceeded(LocalFrame*) override;
201 202
202 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override; 203 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override;
203 204
204 void RegisterViewportLayers() const override; 205 void RegisterViewportLayers() const override;
205 206
206 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 207 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
207 void OnMouseDown(Node&) override; 208 void OnMouseDown(Node&) override;
208 void DidUpdateBrowserControls() const override; 209 void DidUpdateBrowserControls() const override;
210 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
209 211
210 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient( 212 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient(
211 LocalFrame*) override; 213 LocalFrame*) override;
212 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( 214 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient(
213 LocalFrame*) override; 215 LocalFrame*) override;
214 216
215 FloatSize ElasticOverscroll() const override; 217 FloatSize ElasticOverscroll() const override;
216 218
217 void DidObserveNonGetFetchFromScript() const override; 219 void DidObserveNonGetFetchFromScript() const override;
218 220
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 256
255 DEFINE_TYPE_CASTS(ChromeClientImpl, 257 DEFINE_TYPE_CASTS(ChromeClientImpl,
256 ChromeClient, 258 ChromeClient,
257 client, 259 client,
258 client->IsChromeClientImpl(), 260 client->IsChromeClientImpl(),
259 client.IsChromeClientImpl()); 261 client.IsChromeClientImpl());
260 262
261 } // namespace blink 263 } // namespace blink
262 264
263 #endif 265 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698