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

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, 3 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool AcceptsLoadDrops() const override; 74 bool AcceptsLoadDrops() const override;
75 Page* CreateWindow(LocalFrame*, 75 Page* CreateWindow(LocalFrame*,
76 const FrameLoadRequest&, 76 const FrameLoadRequest&,
77 const WebWindowFeatures&, 77 const WebWindowFeatures&,
78 NavigationPolicy, 78 NavigationPolicy,
79 SandboxFlags) override; 79 SandboxFlags) override;
80 void Show(NavigationPolicy) override; 80 void Show(NavigationPolicy) override;
81 void DidOverscroll(const FloatSize& overscroll_delta, 81 void DidOverscroll(const FloatSize& overscroll_delta,
82 const FloatSize& accumulated_overscroll, 82 const FloatSize& accumulated_overscroll,
83 const FloatPoint& position_in_viewport, 83 const FloatPoint& position_in_viewport,
84 const FloatSize& velocity_in_viewport) override; 84 const FloatSize& velocity_in_viewport,
85 const WebScrollBoundaryBehavior&) override;
85 bool ShouldReportDetailedMessageForSource(LocalFrame&, 86 bool ShouldReportDetailedMessageForSource(LocalFrame&,
86 const String&) override; 87 const String&) override;
87 void AddMessageToConsole(LocalFrame*, 88 void AddMessageToConsole(LocalFrame*,
88 MessageSource, 89 MessageSource,
89 MessageLevel, 90 MessageLevel,
90 const String& message, 91 const String& message,
91 unsigned line_number, 92 unsigned line_number,
92 const String& source_id, 93 const String& source_id,
93 const String& stack_trace) override; 94 const String& stack_trace) override;
94 bool CanOpenBeforeUnloadConfirmPanel() override; 95 bool CanOpenBeforeUnloadConfirmPanel() override;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void TextFieldDataListChanged(HTMLInputElement&) override; 208 void TextFieldDataListChanged(HTMLInputElement&) override;
208 void AjaxSucceeded(LocalFrame*) override; 209 void AjaxSucceeded(LocalFrame*) override;
209 210
210 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override; 211 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override;
211 212
212 void RegisterViewportLayers() const override; 213 void RegisterViewportLayers() const override;
213 214
214 void ShowUnhandledTapUIIfNeeded(WebTappedInfo&) override; 215 void ShowUnhandledTapUIIfNeeded(WebTappedInfo&) override;
215 void OnMouseDown(Node&) override; 216 void OnMouseDown(Node&) override;
216 void DidUpdateBrowserControls() const override; 217 void DidUpdateBrowserControls() const override;
218 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
217 219
218 FloatSize ElasticOverscroll() const override; 220 FloatSize ElasticOverscroll() const override;
219 221
220 void DidObserveNonGetFetchFromScript() const override; 222 void DidObserveNonGetFetchFromScript() const override;
221 223
222 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 224 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
223 BlameContext*) override; 225 BlameContext*) override;
224 226
225 double LastFrameTimeMonotonic() const override; 227 double LastFrameTimeMonotonic() const override;
226 228
(...skipping 27 matching lines...) Expand all
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
« no previous file with comments | « third_party/WebKit/Source/core/page/ChromeClient.h ('k') | third_party/WebKit/Source/core/page/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698