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

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

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void performMediaPlayerAction( 226 void performMediaPlayerAction(
227 const WebMediaPlayerAction& action, 227 const WebMediaPlayerAction& action,
228 const WebPoint& location) override; 228 const WebPoint& location) override;
229 void performPluginAction( 229 void performPluginAction(
230 const WebPluginAction&, 230 const WebPluginAction&,
231 const WebPoint&) override; 231 const WebPoint&) override;
232 WebHitTestResult hitTestResultAt(const WebPoint&) override; 232 WebHitTestResult hitTestResultAt(const WebPoint&) override;
233 WebHitTestResult hitTestResultForTap(const WebPoint&, const WebSize&) overri de; 233 WebHitTestResult hitTestResultForTap(const WebPoint&, const WebSize&) overri de;
234 void copyImageAt(const WebPoint&) override; 234 void copyImageAt(const WebPoint&) override;
235 void saveImageAt(const WebPoint&) override; 235 void saveImageAt(const WebPoint&) override;
236 bool selectWordIfAnyAt(const WebPoint&) override;
yosin_UTC9 2016/01/07 08:47:02 Can we use WebFrame::moveCaretSelection(const WebP
236 void dragSourceEndedAt( 237 void dragSourceEndedAt(
237 const WebPoint& clientPoint, 238 const WebPoint& clientPoint,
238 const WebPoint& screenPoint, 239 const WebPoint& screenPoint,
239 WebDragOperation) override; 240 WebDragOperation) override;
240 void dragSourceSystemDragEnded() override; 241 void dragSourceSystemDragEnded() override;
241 WebDragOperation dragTargetDragEnter( 242 WebDragOperation dragTargetDragEnter(
242 const WebDragData&, 243 const WebDragData&,
243 const WebPoint& clientPoint, 244 const WebPoint& clientPoint,
244 const WebPoint& screenPoint, 245 const WebPoint& screenPoint,
245 WebDragOperationsMask operationsAllowed, 246 WebDragOperationsMask operationsAllowed,
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 }; 776 };
776 777
777 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 778 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
778 // We have no ways to check if the specified WebView is an instance of 779 // We have no ways to check if the specified WebView is an instance of
779 // WebViewImpl because WebViewImpl is the only implementation of WebView. 780 // WebViewImpl because WebViewImpl is the only implementation of WebView.
780 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 781 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
781 782
782 } // namespace blink 783 } // namespace blink
783 784
784 #endif 785 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionController.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698