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

Side by Side Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2863693003: Unify TouchAction classes (Closed)
Patch Set: Unfortunately doesn't work 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 * 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 void ConvertWindowToViewport(WebFloatRect* rect) override {} 245 void ConvertWindowToViewport(WebFloatRect* rect) override {}
246 void DidHandleGestureEvent(const WebGestureEvent& event, 246 void DidHandleGestureEvent(const WebGestureEvent& event,
247 bool event_cancelled) override {} 247 bool event_cancelled) override {}
248 void DidOverscroll(const WebFloatSize& overscroll_delta, 248 void DidOverscroll(const WebFloatSize& overscroll_delta,
249 const WebFloatSize& accumulated_overscroll, 249 const WebFloatSize& accumulated_overscroll,
250 const WebFloatPoint& position_in_viewport, 250 const WebFloatPoint& position_in_viewport,
251 const WebFloatSize& velocity_in_viewport) override {} 251 const WebFloatSize& velocity_in_viewport) override {}
252 void HasTouchEventHandlers(bool) override {} 252 void HasTouchEventHandlers(bool) override {}
253 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; } 253 WebLayerTreeView* InitializeLayerTreeView() override { return nullptr; }
254 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); } 254 WebScreenInfo GetScreenInfo() override { return WebScreenInfo(); }
255 void SetTouchAction(WebTouchAction touch_action) override {} 255 void SetTouchAction(blink::WebTouchAction touch_action) override {}
256 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position, 256 void ShowUnhandledTapUIIfNeeded(const WebPoint& tapped_position,
257 const WebNode& tapped_node, 257 const WebNode& tapped_node,
258 bool page_changed) override {} 258 bool page_changed) override {}
259 void Show(WebNavigationPolicy) override {} 259 void Show(WebNavigationPolicy) override {}
260 virtual WebWidgetClient* WidgetClient() { return this; } 260 virtual WebWidgetClient* WidgetClient() { return this; }
261 261
262 protected: 262 protected:
263 }; 263 };
264 264
265 } // namespace blink 265 } // namespace blink
266 266
267 #endif 267 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698