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 #pragma once | |
8 | 7 |
9 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRange.h" |
11 | 10 |
12 namespace WebKit { | 11 namespace WebKit { |
13 class WebHitTestResult; | 12 class WebHitTestResult; |
14 } | 13 } |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 62 |
64 WebKit::WebRange FindContentRange(const WebKit::WebHitTestResult& hit_test, | 63 WebKit::WebRange FindContentRange(const WebKit::WebHitTestResult& hit_test, |
65 std::string* content_text); | 64 std::string* content_text); |
66 | 65 |
67 DISALLOW_COPY_AND_ASSIGN(ContentDetector); | 66 DISALLOW_COPY_AND_ASSIGN(ContentDetector); |
68 }; | 67 }; |
69 | 68 |
70 } // namespace content | 69 } // namespace content |
71 | 70 |
72 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ | 71 #endif // CONTENT_RENDERER_ANDROID_CONTENT_DETECTOR_H_ |
OLD | NEW |