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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 470833002: Add WebKit API for doing a hit-test that mimics GestureTap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tapCount Created 6 years, 1 month 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
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 const WebSize& minSize, 215 const WebSize& minSize,
216 const WebSize& maxSize) override; 216 const WebSize& maxSize) override;
217 virtual void disableAutoResizeMode() override; 217 virtual void disableAutoResizeMode() override;
218 virtual void performMediaPlayerAction( 218 virtual void performMediaPlayerAction(
219 const WebMediaPlayerAction& action, 219 const WebMediaPlayerAction& action,
220 const WebPoint& location) override; 220 const WebPoint& location) override;
221 virtual void performPluginAction( 221 virtual void performPluginAction(
222 const WebPluginAction&, 222 const WebPluginAction&,
223 const WebPoint&) override; 223 const WebPoint&) override;
224 virtual WebHitTestResult hitTestResultAt(const WebPoint&) override; 224 virtual WebHitTestResult hitTestResultAt(const WebPoint&) override;
225 virtual WebHitTestResult hitTestResultForTap(const WebPoint&, const WebSize& ) override;
225 virtual void copyImageAt(const WebPoint&) override; 226 virtual void copyImageAt(const WebPoint&) override;
226 virtual void saveImageAt(const WebPoint&) override; 227 virtual void saveImageAt(const WebPoint&) override;
227 virtual void dragSourceEndedAt( 228 virtual void dragSourceEndedAt(
228 const WebPoint& clientPoint, 229 const WebPoint& clientPoint,
229 const WebPoint& screenPoint, 230 const WebPoint& screenPoint,
230 WebDragOperation) override; 231 WebDragOperation) override;
231 virtual void dragSourceSystemDragEnded() override; 232 virtual void dragSourceSystemDragEnded() override;
232 virtual WebDragOperation dragTargetDragEnter( 233 virtual WebDragOperation dragTargetDragEnter(
233 const WebDragData&, 234 const WebDragData&,
234 const WebPoint& clientPoint, 235 const WebPoint& clientPoint,
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 float m_topControlsLayoutHeight; 753 float m_topControlsLayoutHeight;
753 }; 754 };
754 755
755 // We have no ways to check if the specified WebView is an instance of 756 // We have no ways to check if the specified WebView is an instance of
756 // WebViewImpl because WebViewImpl is the only implementation of WebView. 757 // WebViewImpl because WebViewImpl is the only implementation of WebView.
757 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 758 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
758 759
759 } // namespace blink 760 } // namespace blink
760 761
761 #endif 762 #endif
OLDNEW
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698