OLD | NEW |
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 Loading... |
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 |
OLD | NEW |