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

Side by Side Diff: third_party/WebKit/public/web/WebViewClient.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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // refactor WebView to not inherit from WebWidget. 236 // refactor WebView to not inherit from WebWidget.
237 // WebWidgetClient overrides. 237 // WebWidgetClient overrides.
238 void CloseWidgetSoon() override {} 238 void CloseWidgetSoon() override {}
239 void ConvertViewportToWindow(WebRect* rect) override {} 239 void ConvertViewportToWindow(WebRect* rect) override {}
240 void ConvertWindowToViewport(WebFloatRect* rect) override {} 240 void ConvertWindowToViewport(WebFloatRect* rect) override {}
241 void DidHandleGestureEvent(const WebGestureEvent& event, 241 void DidHandleGestureEvent(const WebGestureEvent& event,
242 bool event_cancelled) override {} 242 bool event_cancelled) override {}
243 void DidOverscroll(const WebFloatSize& overscroll_delta, 243 void DidOverscroll(const WebFloatSize& overscroll_delta,
244 const WebFloatSize& accumulated_overscroll, 244 const WebFloatSize& accumulated_overscroll,
245 const WebFloatPoint& position_in_viewport, 245 const WebFloatPoint& position_in_viewport,
246 const WebFloatSize& velocity_in_viewport) override {} 246 const WebFloatSize& velocity_in_viewport,
247 const WebScrollBoundaryBehavior& behavior) override {}
247 void HasTouchEventHandlers(bool) override {} 248 void HasTouchEventHandlers(bool) override {}
248 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; } 249 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
249 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); } 250 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }
250 void SetTouchAction(WebTouchAction touch_action) override {} 251 void SetTouchAction(WebTouchAction touch_action) override {}
251 void ShowUnhandledTapUIIfNeeded(const WebTappedInfo& tapped_info) override {} 252 void ShowUnhandledTapUIIfNeeded(const WebTappedInfo& tapped_info) override {}
252 void Show(WebNavigationPolicy) override {} 253 void Show(WebNavigationPolicy) override {}
253 virtual WebWidgetClient* WidgetClient() { return this; } 254 virtual WebWidgetClient* WidgetClient() { return this; }
254 255
255 protected: 256 protected:
256 }; 257 };
257 258
258 } // namespace blink 259 } // namespace blink
259 260
260 #endif 261 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebLayerTreeView.h ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698