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

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: 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 /*
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // refactor WebView to not inherit from WebWidget. 242 // refactor WebView to not inherit from WebWidget.
242 // WebWidgetClient overrides. 243 // WebWidgetClient overrides.
243 void CloseWidgetSoon() override {} 244 void CloseWidgetSoon() override {}
244 void ConvertViewportToWindow(WebRect* rect) override {} 245 void ConvertViewportToWindow(WebRect* rect) override {}
245 void ConvertWindowToViewport(WebFloatRect* rect) override {} 246 void ConvertWindowToViewport(WebFloatRect* rect) override {}
246 void DidHandleGestureEvent(const WebGestureEvent& event, 247 void DidHandleGestureEvent(const WebGestureEvent& event,
247 bool event_cancelled) override {} 248 bool event_cancelled) override {}
248 void DidOverscroll(const WebFloatSize& overscroll_delta, 249 void DidOverscroll(const WebFloatSize& overscroll_delta,
249 const WebFloatSize& accumulated_overscroll, 250 const WebFloatSize& accumulated_overscroll,
250 const WebFloatPoint& position_in_viewport, 251 const WebFloatPoint& position_in_viewport,
251 const WebFloatSize& velocity_in_viewport) override {} 252 const WebFloatSize& velocity_in_viewport,
253 const WebScrollBoundaryBehavior& behavior) override {}
252 void HasTouchEventHandlers(bool) override {} 254 void HasTouchEventHandlers(bool) override {}
253 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; } 255 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
254 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); } 256 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }
255 void SetTouchAction(WebTouchAction touch_action) override {} 257 void SetTouchAction(WebTouchAction touch_action) override {}
256 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position, 258 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position,
257 const WebNode& tapped_node, 259 const WebNode& tapped_node,
258 bool page_changed) override {} 260 bool page_changed) override {}
259 void Show(WebNavigationPolicy) override {} 261 void Show(WebNavigationPolicy) override {}
260 virtual WebWidgetClient* WidgetClient() { return this; } 262 virtual WebWidgetClient* WidgetClient() { return this; }
261 263
262 protected: 264 protected:
263 }; 265 };
264 266
265 } // namespace blink 267 } // namespace blink
266 268
267 #endif 269 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698