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

Unified Diff: content/renderer/render_view_impl.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
« no previous file with comments | « content/renderer/android/phone_number_detector_unittest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 6fae3db4a9ef153f5f56453e8aac3e6f00a2a624..7fbcc0d1542c1b03bfc7dde3f28b699bfe30a03e 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -60,7 +60,6 @@
#include "ui/surface/transport_dib.h"
#if defined(OS_ANDROID)
-#include "content/renderer/android/content_detector.h"
#include "content/renderer/android/renderer_date_time_picker.h"
#endif
@@ -86,10 +85,6 @@ struct WebMediaPlayerAction;
struct WebPluginAction;
struct WebPoint;
struct WebWindowFeatures;
-
-#if defined(OS_ANDROID)
-class WebHitTestResult;
-#endif
} // namespace blink
namespace gfx {
@@ -344,12 +339,6 @@ class CONTENT_EXPORT RenderViewImpl
void didFocus() override;
#if defined(OS_ANDROID)
- void scheduleContentIntent(const blink::WebURL& intent,
- bool is_main_frame) override;
- void cancelScheduledContentIntents() override;
- blink::WebURL detectContentIntentAt(
- const blink::WebHitTestResult& touch_hit) override;
-
// Only used on Android since all other platforms implement
// date and time input fields using MULTIPLE_FIELDS_UI
bool openDateTimeChooser(const blink::WebDateTimeChooserParams&,
@@ -584,10 +573,6 @@ class CONTENT_EXPORT RenderViewImpl
void CheckPreferredSize();
#if defined(OS_ANDROID)
- // Launch an Android content intent with the given URL.
- void LaunchAndroidContentIntent(const GURL& intent_url,
- size_t request_id,
- bool is_main_frame);
// Make the video capture devices (e.g. webcam) stop/resume delivering video
// frames to their clients, depending on flag |suspend|. This is called in
// response to a RenderView PageHidden/Shown().
@@ -800,13 +785,6 @@ class CONTENT_EXPORT RenderViewImpl
#if defined(OS_ANDROID)
// Android Specific ---------------------------------------------------------
- // Expected id of the next content intent launched. Used to prevent scheduled
- // intents to be launched if aborted.
- size_t expected_content_intent_id_;
-
- // List of click-based content detectors.
- std::vector<std::unique_ptr<ContentDetector>> content_detectors_;
-
// A date/time picker object for date and time related input elements.
std::unique_ptr<RendererDateTimePicker> date_time_picker_client_;
« no previous file with comments | « content/renderer/android/phone_number_detector_unittest.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698