Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: android_webview/common/aw_hit_test_data.h

Issue 100453010: Add base:: to string16s in android_webview/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « android_webview/common/aw_content_client.cc ('k') | android_webview/common/print_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 SRC_IMAGE_LINK_TYPE = 8, 59 SRC_IMAGE_LINK_TYPE = 8,
60 60
61 // Hit on an editable text input element. All other values will be empty. 61 // Hit on an editable text input element. All other values will be empty.
62 EDIT_TEXT_TYPE = 9, 62 EDIT_TEXT_TYPE = 9,
63 }; 63 };
64 64
65 // For all strings/GURLs, empty/invalid will become null upon conversion to 65 // For all strings/GURLs, empty/invalid will become null upon conversion to
66 // Java. 66 // Java.
67 int type; // Only values from enum Type above. 67 int type; // Only values from enum Type above.
68 std::string extra_data_for_type; 68 std::string extra_data_for_type;
69 string16 href; 69 base::string16 href;
70 string16 anchor_text; 70 base::string16 anchor_text;
71 GURL img_src; 71 GURL img_src;
72 72
73 AwHitTestData(); 73 AwHitTestData();
74 ~AwHitTestData(); 74 ~AwHitTestData();
75 }; 75 };
76 76
77 } // namespace android_webview 77 } // namespace android_webview
78 78
79 #endif // ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_ 79 #endif // ANDROID_WEBVIEW_COMMON_AW_HIT_TEST_DATA_H_
OLDNEW
« no previous file with comments | « android_webview/common/aw_content_client.cc ('k') | android_webview/common/print_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698