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