OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <!-- | 8 <!-- |
9 Defines all the widgets that each of the types of JS modal dialogs | 9 Defines all the widgets that each of the types of JS modal dialogs |
10 need (alerts, confirms and prompts). When we inflate the layout | 10 need (alerts, confirms and prompts). When we inflate the layout |
(...skipping 24 matching lines...) Expand all Loading... |
35 /> | 35 /> |
36 | 36 |
37 </ScrollView> | 37 </ScrollView> |
38 | 38 |
39 <EditText android:id="@+id/js_modal_dialog_prompt" | 39 <EditText android:id="@+id/js_modal_dialog_prompt" |
40 android:layout_width="match_parent" | 40 android:layout_width="match_parent" |
41 android:layout_height="wrap_content" | 41 android:layout_height="wrap_content" |
42 android:singleLine="true" | 42 android:singleLine="true" |
43 android:visibility="gone" | 43 android:visibility="gone" |
44 android:contentDescription="@string/accessibility_js_modal_dialog_prompt
" | 44 android:contentDescription="@string/accessibility_js_modal_dialog_prompt
" |
| 45 android:inputType="text" |
45 /> | 46 /> |
46 | 47 |
47 <CheckBox android:id="@+id/suppress_js_modal_dialogs" | 48 <CheckBox android:id="@+id/suppress_js_modal_dialogs" |
48 android:layout_width="match_parent" | 49 android:layout_width="match_parent" |
49 android:layout_height="wrap_content" | 50 android:layout_height="wrap_content" |
50 android:layout_gravity="start" | 51 android:layout_gravity="start" |
51 android:textAppearance="?android:attr/textAppearanceSmall" | 52 android:textAppearance="?android:attr/textAppearanceSmall" |
52 android:text="@string/suppress_js_modal_dialogs" | 53 android:text="@string/suppress_js_modal_dialogs" |
53 /> | 54 /> |
54 | 55 |
55 </LinearLayout> | 56 </LinearLayout> |
OLD | NEW |