| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ |
| 6 #define CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ | 6 #define CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ |
| 7 | 7 |
| 8 #include "googleurl/src/gurl.h" | |
| 9 #include "third_party/WebKit/public/web/WebRange.h" | 8 #include "third_party/WebKit/public/web/WebRange.h" |
| 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 namespace WebKit { | 11 namespace WebKit { |
| 12 class WebHitTestResult; | 12 class WebHitTestResult; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 // Base class for text-based content detectors. | 17 // Base class for text-based content detectors. |
| 18 class ContentDetector { | 18 class ContentDetector { |
| 19 public: | 19 public: |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 WebKit::WebRange FindContentRange(const WebKit::WebHitTestResult& hit_test, | 60 WebKit::WebRange FindContentRange(const WebKit::WebHitTestResult& hit_test, |
| 61 std::string* content_text); | 61 std::string* content_text); |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(ContentDetector); | 63 DISALLOW_COPY_AND_ASSIGN(ContentDetector); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace content | 66 } // namespace content |
| 67 | 67 |
| 68 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ | 68 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ |
| OLD | NEW |