| 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 ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ | 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ |
| 6 #define ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ | 6 #define ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| 11 namespace android_webview { | 11 namespace android_webview { |
| 12 | 12 |
| 13 // Holdes all hit test data needed by public WebView APIs. | 13 // Holdes all hit test data needed by public WebView APIs. |
| 14 // The Java counter part to this is AwContents.HitTestData. | 14 // The Java counter part to this is AwContents.HitTestData. |
| 15 struct AwHitTestData { | 15 struct AwHitTestData { |
| 16 | 16 |
| 17 // Matches exactly with constants in WebView.HitTestResult, with deprecated | 17 // Matches exactly with constants in WebView.HitTestResult, with deprecated |
| 18 // values removed. | 18 // values removed. |
| 19 enum Type { | 19 enum Type { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 string16 anchor_text; | 69 string16 anchor_text; |
| 70 GURL img_src; | 70 GURL img_src; |
| 71 | 71 |
| 72 AwHitTestData(); | 72 AwHitTestData(); |
| 73 ~AwHitTestData(); | 73 ~AwHitTestData(); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace android_webview | 76 } // namespace android_webview |
| 77 | 77 |
| 78 #endif // ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ | 78 #endif // ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ |
| OLD | NEW |