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

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: Update ScrollManager to pass the test. Created 3 years, 4 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void TextFieldDataListChanged(HTMLInputElement&) override; 207 void TextFieldDataListChanged(HTMLInputElement&) override;
207 void AjaxSucceeded(LocalFrame*) override; 208 void AjaxSucceeded(LocalFrame*) override;
208 209
209 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override; 210 void ShowVirtualKeyboardOnElementFocus(LocalFrame&) override;
210 211
211 void RegisterViewportLayers() const override; 212 void RegisterViewportLayers() const override;
212 213
213 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 214 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
214 void OnMouseDown(Node&) override; 215 void OnMouseDown(Node&) override;
215 void DidUpdateBrowserControls() const override; 216 void DidUpdateBrowserControls() const override;
217 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override;
216 218
217 FloatSize ElasticOverscroll() const override; 219 FloatSize ElasticOverscroll() const override;
218 220
219 void DidObserveNonGetFetchFromScript() const override; 221 void DidObserveNonGetFetchFromScript() const override;
220 222
221 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 223 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
222 BlameContext*) override; 224 BlameContext*) override;
223 225
224 double LastFrameTimeMonotonic() const override; 226 double LastFrameTimeMonotonic() const override;
225 227
(...skipping 27 matching lines...) Expand all
253 255
254 DEFINE_TYPE_CASTS(ChromeClientImpl, 256 DEFINE_TYPE_CASTS(ChromeClientImpl,
255 ChromeClient, 257 ChromeClient,
256 client, 258 client,
257 client->IsChromeClientImpl(), 259 client->IsChromeClientImpl(),
258 client.IsChromeClientImpl()); 260 client.IsChromeClientImpl());
259 261
260 } // namespace blink 262 } // namespace blink
261 263
262 #endif 264 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698