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