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

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

Issue 2783233004: Refine tap disambiguation UMA to track same-node/different-node. (Closed)
Patch Set: Deprecate existing field Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('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) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011, 2012 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 virtual void didCloseContextMenu() = 0; 399 virtual void didCloseContextMenu() = 0;
400 400
401 // Popup menu ---------------------------------------------------------- 401 // Popup menu ----------------------------------------------------------
402 402
403 // Sets whether select popup menus should be rendered by the browser. 403 // Sets whether select popup menus should be rendered by the browser.
404 BLINK_EXPORT static void setUseExternalPopupMenus(bool); 404 BLINK_EXPORT static void setUseExternalPopupMenus(bool);
405 405
406 // Hides any popup (suggestions, selects...) that might be showing. 406 // Hides any popup (suggestions, selects...) that might be showing.
407 virtual void hidePopups() = 0; 407 virtual void hidePopups() = 0;
408 408
409 // Generate a synthetic touch event applying the result of a tap
410 // disambiguation popup.
411 virtual void resolveTapDisambiguation(double timestampSeconds,
412 WebPoint tapViewportOffset,
413 bool isLongPress) = 0;
414
409 // Visited link state -------------------------------------------------- 415 // Visited link state --------------------------------------------------
410 416
411 // Tells all WebView instances to update the visited link state for the 417 // Tells all WebView instances to update the visited link state for the
412 // specified hash. 418 // specified hash.
413 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); 419 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash);
414 420
415 // Tells all WebView instances to update the visited state for all 421 // Tells all WebView instances to update the visited state for all
416 // their links. Use invalidateVisitedLinkHashes to inform that the visitedlink 422 // their links. Use invalidateVisitedLinkHashes to inform that the visitedlink
417 // table was changed and the salt was changed too. And all cached visitedlink 423 // table was changed and the salt was changed too. And all cached visitedlink
418 // hashes need to be recalculated. 424 // hashes need to be recalculated.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 // completed. 499 // completed.
494 WebWidget* widget() { return this; } 500 WebWidget* widget() { return this; }
495 501
496 protected: 502 protected:
497 ~WebView() {} 503 ~WebView() {}
498 }; 504 };
499 505
500 } // namespace blink 506 } // namespace blink
501 507
502 #endif 508 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698