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

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: Update the test Created 3 years, 6 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 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 4 *
4 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
6 * met: 7 * met:
7 * 8 *
8 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 11 * * Redistributions in binary form must reproduce the above
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // refactor WebView to not inherit from WebWidget. 239 // refactor WebView to not inherit from WebWidget.
239 // WebWidgetClient overrides. 240 // WebWidgetClient overrides.
240 void CloseWidgetSoon() override {} 241 void CloseWidgetSoon() override {}
241 void ConvertViewportToWindow(WebRect* rect) override {} 242 void ConvertViewportToWindow(WebRect* rect) override {}
242 void ConvertWindowToViewport(WebFloatRect* rect) override {} 243 void ConvertWindowToViewport(WebFloatRect* rect) override {}
243 void DidHandleGestureEvent(const WebGestureEvent& event, 244 void DidHandleGestureEvent(const WebGestureEvent& event,
244 bool event_cancelled) override {} 245 bool event_cancelled) override {}
245 void DidOverscroll(const WebFloatSize& overscroll_delta, 246 void DidOverscroll(const WebFloatSize& overscroll_delta,
246 const WebFloatSize& accumulated_overscroll, 247 const WebFloatSize& accumulated_overscroll,
247 const WebFloatPoint& position_in_viewport, 248 const WebFloatPoint& position_in_viewport,
248 const WebFloatSize& velocity_in_viewport) override {} 249 const WebFloatSize& velocity_in_viewport,
250 const WebScrollBoundaryBehavior& behavior) override {}
249 void HasTouchEventHandlers(bool) override {} 251 void HasTouchEventHandlers(bool) override {}
250 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; } 252 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
251 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); } 253 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }
252 void SetTouchAction(WebTouchAction touch_action) override {} 254 void SetTouchAction(WebTouchAction touch_action) override {}
253 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position, 255 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position,
254 const WebNode& tapped_node, 256 const WebNode& tapped_node,
255 bool page_changed) override {} 257 bool page_changed) override {}
256 void Show(WebNavigationPolicy) override {} 258 void Show(WebNavigationPolicy) override {}
257 virtual WebWidgetClient* WidgetClient() { return this; } 259 virtual WebWidgetClient* WidgetClient() { return this; }
258 260
259 protected: 261 protected:
260 }; 262 };
261 263
262 } // namespace blink 264 } // namespace blink
263 265
264 #endif 266 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698