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

Side by Side Diff: third_party/WebKit/Source/core/page/ChromeClientImpl.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: rebase Created 3 years, 5 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 77 NavigationPolicy,
78 SandboxFlags) override; 78 SandboxFlags) override;
79 void Show(NavigationPolicy) override; 79 void Show(NavigationPolicy) override;
80 void DidOverscroll(const FloatSize& overscroll_delta, 80 void DidOverscroll(const FloatSize& overscroll_delta,
81 const FloatSize& accumulated_overscroll, 81 const FloatSize& accumulated_overscroll,
82 const FloatPoint& position_in_viewport, 82 const FloatPoint& position_in_viewport,
83 const FloatSize& velocity_in_viewport) override; 83 const FloatSize& velocity_in_viewport,
84 const WebScrollBoundaryBehavior&) override;
84 bool ShouldReportDetailedMessageForSource(LocalFrame&, 85 bool ShouldReportDetailedMessageForSource(LocalFrame&,
85 const String&) override; 86 const String&) override;
86 void AddMessageToConsole(LocalFrame*, 87 void AddMessageToConsole(LocalFrame*,
87 MessageSource, 88 MessageSource,
88 MessageLevel, 89 MessageLevel,
89 const String& message, 90 const String& message,
90 unsigned line_number, 91 unsigned line_number,
91 const String& source_id, 92 const String& source_id,
92 const String& stack_trace) override; 93 const String& stack_trace) override;
93 bool CanOpenBeforeUnloadConfirmPanel() override; 94 bool CanOpenBeforeUnloadConfirmPanel() override;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void TextFieldDataListChanged(HTMLInputElement&) override; 205 void TextFieldDataListChanged(HTMLInputElement&) override;
205 void AjaxSucceeded(LocalFrame*) override; 206 void AjaxSucceeded(LocalFrame*) override;
206 207
207 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override; 208 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override;
208 209
209 void RegisterViewportLayers() const override; 210 void RegisterViewportLayers() const override;
210 211
211 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 212 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
212 void OnMouseDown(Node&) override; 213 void OnMouseDown(Node&) override;
213 void DidUpdateBrowserControls() const override; 214 void DidUpdateBrowserControls() const override;
215 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) 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
219 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 221 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
220 BlameContext*) override; 222 BlameContext*) override;
221 223
222 double LastFrameTimeMonotonic() const override; 224 double LastFrameTimeMonotonic() const override;
223 225
(...skipping 28 matching lines...) Expand all
252 254
253 DEFINE_TYPE_CASTS(ChromeClientImpl, 255 DEFINE_TYPE_CASTS(ChromeClientImpl,
254 ChromeClient, 256 ChromeClient,
255 client, 257 client,
256 client->IsChromeClientImpl(), 258 client->IsChromeClientImpl(),
257 client.IsChromeClientImpl()); 259 client.IsChromeClientImpl());
258 260
259 } // namespace blink 261 } // namespace blink
260 262
261 #endif 263 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698