| Index: content/renderer/android/content_detector.cc
|
| diff --git a/content/renderer/android/content_detector.cc b/content/renderer/android/content_detector.cc
|
| index 96adfa3fb7ba2f76519e2aeb3b70a3053ffeb53d..64a91f2ce3c0dedae7c66aad38080877d773ac5f 100644
|
| --- a/content/renderer/android/content_detector.cc
|
| +++ b/content/renderer/android/content_detector.cc
|
| @@ -14,6 +14,19 @@ using WebKit::WebSurroundingText;
|
|
|
| namespace content {
|
|
|
| +ContentDetector::Result::Result() : valid(false) {}
|
| +
|
| +ContentDetector::Result::Result(const WebKit::WebRange& content_boundaries,
|
| + const std::string& text,
|
| + const GURL& intent_url)
|
| + : valid(true),
|
| + content_boundaries(content_boundaries),
|
| + text(text),
|
| + intent_url(intent_url) {
|
| +}
|
| +
|
| +ContentDetector::Result::~Result() {}
|
| +
|
| ContentDetector::Result ContentDetector::FindTappedContent(
|
| const WebKit::WebHitTestResult& hit_test) {
|
| if (hit_test.isNull())
|
|
|