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

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: Fixed the comments Created 3 years, 7 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 WindowFeatures&, 76 const WindowFeatures&,
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 void SetToolbarsVisible(bool) override; 84 void SetToolbarsVisible(bool) override;
84 bool ToolbarsVisible() override; 85 bool ToolbarsVisible() override;
85 void SetStatusbarVisible(bool) override; 86 void SetStatusbarVisible(bool) override;
86 bool StatusbarVisible() override; 87 bool StatusbarVisible() override;
87 void SetScrollbarsVisible(bool) override; 88 void SetScrollbarsVisible(bool) override;
88 bool ScrollbarsVisible() override; 89 bool ScrollbarsVisible() override;
89 void SetMenubarVisible(bool) override; 90 void SetMenubarVisible(bool) override;
90 bool MenubarVisible() override; 91 bool MenubarVisible() override;
91 void SetResizable(bool) override; 92 void SetResizable(bool) override;
92 bool ShouldReportDetailedMessageForSource(LocalFrame&, 93 bool ShouldReportDetailedMessageForSource(LocalFrame&,
(...skipping 114 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(IntPoint, Node*, bool) override; 215 void ShowUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
215 void OnMouseDown(Node&) override; 216 void OnMouseDown(Node&) override;
216 void DidUpdateBrowserControls() const override; 217 void DidUpdateBrowserControls() const override;
218 void SetScrollBoundaryBehavior(WebScrollBoundaryBehavior) const override;
217 219
218 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient( 220 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient(
219 LocalFrame*) override; 221 LocalFrame*) override;
220 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( 222 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient(
221 LocalFrame*) override; 223 LocalFrame*) override;
222 224
223 FloatSize ElasticOverscroll() const override; 225 FloatSize ElasticOverscroll() const override;
224 226
225 void DidObserveNonGetFetchFromScript() const override; 227 void DidObserveNonGetFetchFromScript() const override;
226 228
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 260
259 DEFINE_TYPE_CASTS(ChromeClientImpl, 261 DEFINE_TYPE_CASTS(ChromeClientImpl,
260 ChromeClient, 262 ChromeClient,
261 client, 263 client,
262 client->IsChromeClientImpl(), 264 client->IsChromeClientImpl(),
263 client.IsChromeClientImpl()); 265 client.IsChromeClientImpl());
264 266
265 } // namespace blink 267 } // namespace blink
266 268
267 #endif 269 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698