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

Side by Side Diff: ios/chrome/browser/ui/downloads/resources/DownloadManagerController.xib

Issue 2553563004: [ios] Adds JS resources for various features. (Closed)
Patch Set: Upload. Created 4 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
« no previous file with comments | « ios/chrome/browser/ui/downloads/BUILD.gn ('k') | ios/chrome/browser/web/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsV ersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAcce ssControl="none" useAutolayout="YES">
3 <dependencies>
4 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" versi on="10085"/>
5 </dependencies>
6 <objects>
7 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="Fil e's Owner" customClass="DownloadManagerController">
8 <connections>
9 <outlet property="actionBar" destination="mf4-ti-xzw" id="e6W-4V -boT"/>
10 <outlet property="actionBarBorder" destination="vi5-3Q-93W" id=" Dgb-9u-X2x"/>
11 <outlet property="cancelButton" destination="fdr-8U-lOx" id="oXn -b3-YuV"/>
12 <outlet property="documentContainer" destination="7D5-sb-6tz" id ="985-Zp-wnN"/>
13 <outlet property="documentIcon" destination="NH0-Qo-rt4" id="U2i -4M-pZE"/>
14 <outlet property="downloadButton" destination="ZY0-Rn-Jvb" id="E Oh-Xu-0eZ"/>
15 <outlet property="errorIcon" destination="MoE-Yo-hcG" id="nWY-r5 -rtb"/>
16 <outlet property="errorLabel" destination="N2t-MX-4cK" id="YX1-m F-FV2"/>
17 <outlet property="errorOrSizeLabel" destination="DVD-jj-g6B" id= "hyu-Vn-imb"/>
18 <outlet property="fileNameLabel" destination="yu5-8G-2xD" id="kR Q-HJ-4pN"/>
19 <outlet property="fileTypeLabel" destination="uZZ-p3-Sok" id="Am 5-2F-vEJ"/>
20 <outlet property="foldIcon" destination="7rm-Qh-Y6x" id="dDh-Ho- Ze5"/>
21 <outlet property="googleDriveButton" destination="bka-0X-s4A" id ="TWm-Ug-VTH"/>
22 <outlet property="openInButton" destination="RCe-Np-tu4" id="9Pq -FZ-pbA"/>
23 <outlet property="progressBar" destination="7HI-kh-jA2" id="9NQ- eP-R4r"/>
24 <outlet property="timeLeftLabel" destination="zEC-Sy-aBG" id="r2 G-rW-7Pj"/>
25 <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt" />
26 </connections>
27 </placeholder>
28 <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClas s="UIResponder"/>
29 <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M- Pr-FkT" userLabel="Main View">
30 <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
31 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSi zable="YES"/>
32 <subviews>
33 <view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7D5-sb-6tz" userLabel="Docume nt Container">
34 <rect key="frame" x="92" y="194" width="136" height="180"/>
35 <subviews>
36 <view hidden="YES" contentMode="scaleToFill" ambiguous=" YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7HI-kh-j A2" userLabel="Progress Bar">
37 <color key="backgroundColor" red="0.2588235294117646 7" green="0.52156862745098043" blue="0.96078431372549022" alpha="1" colorSpace=" calibratedRGB"/>
38 </view>
39 <imageView opaque="NO" userInteractionEnabled="NO" conte ntMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="25 1" ambiguous="YES" image="file_icon_body" translatesAutoresizingMaskIntoConstrai nts="NO" id="NH0-Qo-rt4" userLabel="Document Icon">
40 <rect key="frame" x="0.0" y="0.0" width="136" height ="180"/>
41 </imageView>
42 <imageView userInteractionEnabled="NO" contentMode="scal eToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous ="YES" image="file_icon_fold" translatesAutoresizingMaskIntoConstraints="NO" id= "7rm-Qh-Y6x" userLabel="Fold Icon">
43 <rect key="frame" x="80" y="0.0" width="56" height=" 106"/>
44 </imageView>
45 <imageView hidden="YES" userInteractionEnabled="NO" cont entMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="2 51" ambiguous="YES" image="error_icon" translatesAutoresizingMaskIntoConstraints ="NO" id="MoE-Yo-hcG" userLabel="Error Icon">
46 <rect key="frame" x="48" y="70" width="40" height="4 0"/>
47 </imageView>
48 <label hidden="YES" opaque="NO" clipsSubviews="YES" user InteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verti calHuggingPriority="251" ambiguous="YES" misplaced="YES" text="ZIP" textAlignmen t="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" mi nimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="uZZ-p3-Sok " userLabel="File Type Label">
49 <rect key="frame" x="35" y="82" width="66" height="4 2"/>
50 <fontDescription key="fontDescription" type="boldSys tem" pointSize="42"/>
51 <color key="textColor" red="1" green="1" blue="1" al pha="0.87" colorSpace="calibratedRGB"/>
52 <nil key="highlightedColor"/>
53 </label>
54 <label hidden="YES" opaque="NO" clipsSubviews="YES" user InteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verti calHuggingPriority="251" ambiguous="YES" misplaced="YES" text="3 min" textAlignm ent="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zEC -Sy-aBG" userLabel="Time Left Label">
55 <rect key="frame" x="50" y="152" width="36" height=" 16"/>
56 <fontDescription key="fontDescription" type="system" pointSize="14"/>
57 <color key="textColor" red="1" green="1" blue="1" al pha="0.54000000000000004" colorSpace="calibratedRGB"/>
58 <nil key="highlightedColor"/>
59 </label>
60 </subviews>
61 <color key="backgroundColor" red="0.4823529411764706" green= "0.66666666666666663" blue="0.97254901960784312" alpha="1" colorSpace="calibrate dRGB"/>
62 <constraints>
63 <constraint firstItem="7rm-Qh-Y6x" firstAttribute="top" secondItem="7D5-sb-6tz" secondAttribute="top" id="88v-It-d6Q"/>
64 <constraint firstAttribute="centerY" secondItem="NH0-Qo- rt4" secondAttribute="centerY" id="Bjg-JV-eVj"/>
65 <constraint firstItem="7HI-kh-jA2" firstAttribute="leadi ng" secondItem="7D5-sb-6tz" secondAttribute="leading" id="Gu0-Ul-1S8"/>
66 <constraint firstAttribute="centerX" secondItem="uZZ-p3- Sok" secondAttribute="centerX" id="JiU-nD-eqf"/>
67 <constraint firstAttribute="trailing" secondItem="7rm-Qh -Y6x" secondAttribute="trailing" id="K3i-QE-9QP"/>
68 <constraint firstAttribute="width" secondItem="NH0-Qo-rt 4" secondAttribute="width" id="Q3h-gE-6Ta"/>
69 <constraint firstAttribute="centerX" secondItem="NH0-Qo- rt4" secondAttribute="centerX" id="SiU-of-Hge"/>
70 <constraint firstAttribute="centerX" secondItem="MoE-Yo- hcG" secondAttribute="centerX" id="URH-uu-yuH"/>
71 <constraint firstAttribute="height" secondItem="NH0-Qo-r t4" secondAttribute="height" id="ZEW-Wa-B8O"/>
72 <constraint firstAttribute="bottom" secondItem="7HI-kh-j A2" secondAttribute="bottom" id="d95-hn-K4Z"/>
73 <constraint firstAttribute="centerY" secondItem="MoE-Yo- hcG" secondAttribute="centerY" id="e2O-21-WFJ"/>
74 <constraint firstAttribute="centerX" secondItem="zEC-Sy- aBG" secondAttribute="centerX" id="kFk-4l-uoH"/>
75 <constraint firstAttribute="trailing" secondItem="7HI-kh -jA2" secondAttribute="trailing" id="kYr-cI-bjr"/>
76 <constraint firstItem="7HI-kh-jA2" firstAttribute="heigh t" relation="lessThanOrEqual" secondItem="7D5-sb-6tz" secondAttribute="height" i d="yt8-lS-rF5"/>
77 </constraints>
78 </view>
79 <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteract ionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggi ngPriority="750" ambiguous="YES" misplaced="YES" text="example.zip" textAlignmen t="center" lineBreakMode="middleTruncation" numberOfLines="6" baselineAdjustment ="alignBaselines" minimumFontSize="8" adjustsLetterSpacingToFitWidth="YES" prefe rredMaxLayoutWidth="272" translatesAutoresizingMaskIntoConstraints="NO" id="yu5- 8G-2xD" userLabel="File Name Label">
80 <rect key="frame" x="24" y="382" width="272" height="16"/>
81 <fontDescription key="fontDescription" type="system" pointSi ze="16"/>
82 <color key="textColor" white="0.0" alpha="0.87" colorSpace=" calibratedWhite"/>
83 <nil key="highlightedColor"/>
84 </label>
85 <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteract ionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggi ngPriority="750" ambiguous="YES" misplaced="YES" text="10.7 MB" textAlignment="c enter" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjust sFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DVD-jj-g6 B" userLabel="File Size Label">
86 <rect key="frame" x="24" y="400" width="272" height="16"/>
87 <fontDescription key="fontDescription" type="system" pointSi ze="12"/>
88 <color key="textColor" red="0.63921568627450975" green="0.63 921568627450975" blue="0.63921568627450975" alpha="1" colorSpace="calibratedRGB" />
89 <nil key="highlightedColor"/>
90 </label>
91 <label hidden="YES" opaque="NO" clipsSubviews="YES" userInteract ionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggi ngPriority="251" ambiguous="YES" misplaced="YES" text="Error" textAlignment="cen ter" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsF ontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N2t-MX-4cK" userLabel="Error Label">
92 <rect key="frame" x="24" y="418" width="272" height="16"/>
93 <constraints>
94 <constraint firstAttribute="height" constant="16" id="P2 o-Hu-9Ys"/>
95 </constraints>
96 <fontDescription key="fontDescription" type="system" pointSi ze="16"/>
97 <nil key="highlightedColor"/>
98 </label>
99 <view contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mf4-ti-xzw" userLabel="Action Bar">
100 <rect key="frame" x="0.0" y="500" width="320" height="68"/>
101 <subviews>
102 <button hidden="YES" opaque="NO" contentMode="scaleToFil l" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVe rticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizing MaskIntoConstraints="NO" id="ZY0-Rn-Jvb" userLabel="Download Button" customClass ="MDCFlatButton">
103 <rect key="frame" x="189" y="16" width="115" height= "36"/>
104 <constraints>
105 <constraint firstAttribute="height" constant="36 " id="5wb-3U-z0u"/>
106 </constraints>
107 <fontDescription key="fontDescription" type="system" pointSize="14"/>
108 <inset key="contentEdgeInsets" minX="16" minY="0.0" maxX="16" maxY="0.0"/>
109 <state key="normal" title="DOWNLOAD">
110 <color key="titleColor" red="0.25882352941176467 " green="0.52156862745098043" blue="0.95294117647058818" alpha="1" colorSpace="c alibratedRGB"/>
111 <color key="titleShadowColor" white="0.5" alpha= "1" colorSpace="calibratedWhite"/>
112 </state>
113 <connections>
114 <action selector="downloadButtonTapped:" destina tion="-1" eventType="touchUpInside" id="HWx-rL-g6I"/>
115 </connections>
116 </button>
117 <button hidden="YES" opaque="NO" contentMode="scaleToFil l" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVe rticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizing MaskIntoConstraints="NO" id="fdr-8U-lOx" userLabel="Cancel Button" customClass=" MDCFlatButton">
118 <rect key="frame" x="215" y="16" width="89" height=" 36"/>
119 <constraints>
120 <constraint firstAttribute="height" constant="36 " id="CEp-26-TfH"/>
121 </constraints>
122 <fontDescription key="fontDescription" type="system" pointSize="14"/>
123 <inset key="contentEdgeInsets" minX="16" minY="0.0" maxX="16" maxY="0.0"/>
124 <state key="normal" title="CANCEL">
125 <color key="titleColor" red="0.85882352941176465 " green="0.26666666666666666" blue="0.21568627450980393" alpha="1" colorSpace="c alibratedRGB"/>
126 <color key="titleShadowColor" white="0.5" alpha= "1" colorSpace="calibratedWhite"/>
127 </state>
128 <connections>
129 <action selector="cancelButtonTapped:" destinati on="-1" eventType="touchUpInside" id="VOe-YR-FmZ"/>
130 </connections>
131 </button>
132 <button hidden="YES" opaque="NO" contentMode="scaleToFil l" horizontalHuggingPriority="750" ambiguous="YES" misplaced="YES" contentHorizo ntalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTr uncation" translatesAutoresizingMaskIntoConstraints="NO" id="RCe-Np-tu4" userLab el="Open In Button" customClass="MDCFlatButton">
133 <rect key="frame" x="202" y="16" width="102" height= "36"/>
134 <constraints>
135 <constraint firstAttribute="height" constant="36 " id="Mbn-uc-6un"/>
136 </constraints>
137 <fontDescription key="fontDescription" type="system" pointSize="14"/>
138 <inset key="contentEdgeInsets" minX="16" minY="0.0" maxX="16" maxY="0.0"/>
139 <state key="normal" title="OPEN IN...">
140 <color key="titleColor" red="0.25882352941176467 " green="0.52156862745098043" blue="0.95294117647058818" alpha="1" colorSpace="c alibratedRGB"/>
141 <color key="titleShadowColor" white="0.5" alpha= "1" colorSpace="calibratedWhite"/>
142 </state>
143 <connections>
144 <action selector="openInButtonTapped:" destinati on="-1" eventType="touchUpInside" id="kux-4p-DZK"/>
145 </connections>
146 </button>
147 <button hidden="YES" opaque="NO" contentMode="scaleToFil l" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVe rticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizing MaskIntoConstraints="NO" id="bka-0X-s4A" userLabel="Google Drive Button" customC lass="MDCFlatButton">
148 <rect key="frame" x="103" y="20" width="197" height= "30"/>
149 <constraints>
150 <constraint firstAttribute="height" constant="36 " id="NBt-p1-tvy"/>
151 </constraints>
152 <fontDescription key="fontDescription" type="system" pointSize="14"/>
153 <inset key="contentEdgeInsets" minX="16" minY="0.0" maxX="16" maxY="0.0"/>
154 <state key="normal" title="INSTALL GOOGLE DRIVE">
155 <color key="titleColor" red="0.0" green="0.0" bl ue="0.0" alpha="1" colorSpace="calibratedRGB"/>
156 <color key="titleShadowColor" white="0.5" alpha= "1" colorSpace="calibratedWhite"/>
157 </state>
158 <connections>
159 <action selector="googleDriveButtonTapped:" dest ination="-1" eventType="touchUpInside" id="6bR-jc-1u1"/>
160 </connections>
161 </button>
162 <view contentMode="scaleToFill" ambiguous="YES" misplace d="YES" translatesAutoresizingMaskIntoConstraints="NO" id="vi5-3Q-93W" userLabel ="Action Bar Border">
163 <rect key="frame" x="0.0" y="0.0" width="320" height ="1"/>
164 <color key="backgroundColor" white="0.0" alpha="0.13 " colorSpace="calibratedWhite"/>
165 </view>
166 </subviews>
167 <color key="backgroundColor" white="1" alpha="1" colorSpace= "custom" customColorSpace="calibratedWhite"/>
168 <constraints>
169 <constraint firstAttribute="trailing" secondItem="ZY0-Rn -Jvb" secondAttribute="trailing" constant="16" id="03c-qr-eiI"/>
170 <constraint firstAttribute="trailing" secondItem="fdr-8U -lOx" secondAttribute="trailing" constant="16" id="2v2-Dh-lld"/>
171 <constraint firstItem="vi5-3Q-93W" firstAttribute="top" secondItem="mf4-ti-xzw" secondAttribute="top" id="9eW-1D-bcM"/>
172 <constraint firstAttribute="trailing" secondItem="RCe-Np -tu4" secondAttribute="trailing" constant="16" id="LDJ-HC-lhJ"/>
173 <constraint firstAttribute="trailing" secondItem="vi5-3Q -93W" secondAttribute="trailing" id="ksF-tw-umu"/>
174 <constraint firstItem="vi5-3Q-93W" firstAttribute="leadi ng" secondItem="mf4-ti-xzw" secondAttribute="leading" id="msZ-nF-eFF"/>
175 </constraints>
176 </view>
177 </subviews>
178 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
179 <constraints>
180 <constraint firstItem="yu5-8G-2xD" firstAttribute="leading" rela tion="greaterThanOrEqual" secondItem="i5M-Pr-FkT" secondAttribute="leading" cons tant="24" id="388-vR-nWw"/>
181 <constraint firstItem="yu5-8G-2xD" firstAttribute="trailing" rel ation="lessThanOrEqual" secondItem="i5M-Pr-FkT" secondAttribute="trailing" const ant="-24" id="AnY-wf-Pun"/>
182 <constraint firstItem="N2t-MX-4cK" firstAttribute="leading" rela tion="greaterThanOrEqual" secondItem="i5M-Pr-FkT" secondAttribute="leading" cons tant="24" id="GSP-lu-z4r"/>
183 <constraint firstItem="DVD-jj-g6B" firstAttribute="leading" rela tion="greaterThanOrEqual" secondItem="i5M-Pr-FkT" secondAttribute="leading" cons tant="24" id="MXk-gC-2aS"/>
184 <constraint firstAttribute="trailing" relation="lessThanOrEqual" secondItem="DVD-jj-g6B" secondAttribute="trailing" constant="24" id="Ojk-vd-UZj "/>
185 <constraint firstItem="DVD-jj-g6B" firstAttribute="top" secondIt em="yu5-8G-2xD" secondAttribute="bottom" constant="8" id="RZD-KL-Akd"/>
186 <constraint firstAttribute="centerX" secondItem="yu5-8G-2xD" sec ondAttribute="centerX" id="TCV-jQ-K1X"/>
187 <constraint firstItem="N2t-MX-4cK" firstAttribute="top" secondIt em="DVD-jj-g6B" secondAttribute="bottom" id="V70-Pv-0BS"/>
188 <constraint firstItem="N2t-MX-4cK" firstAttribute="trailing" rel ation="lessThanOrEqual" secondItem="i5M-Pr-FkT" secondAttribute="trailing" const ant="-24" id="Zel-JC-JTX"/>
189 <constraint firstItem="mf4-ti-xzw" firstAttribute="leading" seco ndItem="i5M-Pr-FkT" secondAttribute="leading" id="cBc-dm-mmr"/>
190 <constraint firstAttribute="trailing" secondItem="mf4-ti-xzw" se condAttribute="trailing" id="hM4-Pt-UM0"/>
191 <constraint firstItem="DVD-jj-g6B" firstAttribute="trailing" sec ondItem="i5M-Pr-FkT" secondAttribute="trailing" constant="-24" id="hXh-Fh-hCv"/>
192 <constraint firstAttribute="bottom" secondItem="mf4-ti-xzw" seco ndAttribute="bottom" id="jAj-XG-4Hh"/>
193 <constraint firstAttribute="centerX" secondItem="7D5-sb-6tz" sec ondAttribute="centerX" id="p6n-K6-jDJ"/>
194 <constraint firstAttribute="centerX" secondItem="DVD-jj-g6B" sec ondAttribute="centerX" id="vBM-Wd-3rE"/>
195 <constraint firstAttribute="centerX" secondItem="N2t-MX-4cK" sec ondAttribute="centerX" id="y58-Q9-RDK"/>
196 </constraints>
197 </view>
198 </objects>
199 <resources>
200 <image name="error_icon" width="40" height="40"/>
201 <image name="file_icon_body" width="136" height="180"/>
202 <image name="file_icon_fold" width="56" height="106"/>
203 </resources>
204 </document>
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/downloads/BUILD.gn ('k') | ios/chrome/browser/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698