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 <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
8 #include "third_party/WebKit/public/web/WebRange.h" | 11 #include "third_party/WebKit/public/web/WebRange.h" |
9 #include "url/gurl.h" | 12 #include "url/gurl.h" |
10 | 13 |
11 namespace blink { | 14 namespace blink { |
12 class WebHitTestResult; | 15 class WebHitTestResult; |
13 } | 16 } |
14 | 17 |
15 namespace content { | 18 namespace content { |
16 | 19 |
17 // Base class for text-based content detectors. | 20 // Base class for text-based content detectors. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 62 |
60 blink::WebRange FindContentRange(const blink::WebHitTestResult& hit_test, | 63 blink::WebRange FindContentRange(const blink::WebHitTestResult& hit_test, |
61 std::string* content_text); | 64 std::string* content_text); |
62 | 65 |
63 DISALLOW_COPY_AND_ASSIGN(ContentDetector); | 66 DISALLOW_COPY_AND_ASSIGN(ContentDetector); |
64 }; | 67 }; |
65 | 68 |
66 } // namespace content | 69 } // namespace content |
67 | 70 |
68 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ | 71 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ |
OLD | NEW |