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 #include "content/renderer/android/content_detector.h" | 5 #include "content/renderer/android/content_detector.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" | 8 #include "third_party/WebKit/public/platform/WebPoint.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHitTestResult.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSurroundingText.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSurroundingText.h" |
11 | 11 |
12 using WebKit::WebRange; | 12 using WebKit::WebRange; |
13 using WebKit::WebSurroundingText; | 13 using WebKit::WebSurroundingText; |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 ContentDetector::Result::Result() : valid(false) {} | 17 ContentDetector::Result::Result() : valid(false) {} |
18 | 18 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 } else { | 75 } else { |
76 start_offset += relative_end; | 76 start_offset += relative_end; |
77 } | 77 } |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 return WebRange(); | 81 return WebRange(); |
82 } | 82 } |
83 | 83 |
84 } // namespace content | 84 } // namespace content |
OLD | NEW |