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

Unified Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2790893004: Delete Android content detectors. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebViewClient.h
diff --git a/third_party/WebKit/public/web/WebViewClient.h b/third_party/WebKit/public/web/WebViewClient.h
index 1e09aa4c5d70378a2e57bafdf4604ffd7b24cb73..758dd13647f1adcc534179c976673f1ebc01f72a 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -43,7 +43,6 @@ namespace blink {
class WebDateTimeChooserCompletion;
class WebFileChooserCompletion;
-class WebHitTestResult;
class WebNode;
class WebSpeechRecognizer;
class WebStorageNamespace;
@@ -239,24 +238,6 @@ class WebViewClient : protected WebWidgetClient {
// Informs the browser that the page scale has changed.
virtual void pageScaleFactorChanged() {}
- // Content detection ----------------------------------------------------
-
- // Detects if the content at (or around) provided hit test result
- // corresponds to an intent that could be handed by an embedder
- // (e.g., email addresses, phone numbers).
- virtual WebURL detectContentIntentAt(const WebHitTestResult&) {
- return WebURL();
- }
-
- // Schedules a new content intent with the provided url.
- // The boolean flag is set to true when the user gesture has been applied
- // to the element from the main frame.
- virtual void scheduleContentIntent(const WebURL&, bool isMainFrame) {}
-
- // Cancels any previously scheduled content intents that have not yet
- // launched.
- virtual void cancelScheduledContentIntents() {}
-
// Draggable regions ----------------------------------------------------
// Informs the browser that the draggable regions have been updated.

Powered by Google App Engine
This is Rietveld 408576698